성능개선 문자인증오류수정 텔레그램메시포함 등
This commit is contained in:
parent
56d87eaa45
commit
f3ff13ab2b
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -22,7 +22,7 @@ class PersonAdmin(admin.ModelAdmin):
|
|||||||
form = PersonAdminForm
|
form = PersonAdminForm
|
||||||
list_display = ['SEQUENCE', '이름', '소속', '직책', '연락처', 'user', '모든사람보기권한', '비밀번호설정필요', '가입일시', '사진']
|
list_display = ['SEQUENCE', '이름', '소속', '직책', '연락처', 'user', '모든사람보기권한', '비밀번호설정필요', '가입일시', '사진']
|
||||||
list_filter = ['모든사람보기권한', '비밀번호설정필요', '소속', '직책']
|
list_filter = ['모든사람보기권한', '비밀번호설정필요', '소속', '직책']
|
||||||
search_fields = ['이름', '소속', '직책', '연락처', 'keyword1']
|
search_fields = ['이름', '소속', '직책', '연락처', 'keyword1', '소개글']
|
||||||
readonly_fields = ['수정일시', '사진미리보기', '가입일시']
|
readonly_fields = ['수정일시', '사진미리보기', '가입일시']
|
||||||
list_editable = ['SEQUENCE']
|
list_editable = ['SEQUENCE']
|
||||||
list_display_links = ['이름']
|
list_display_links = ['이름']
|
||||||
@ -38,8 +38,11 @@ class PersonAdmin(admin.ModelAdmin):
|
|||||||
('미디어', {
|
('미디어', {
|
||||||
'fields': ('사진', '사진미리보기')
|
'fields': ('사진', '사진미리보기')
|
||||||
}),
|
}),
|
||||||
|
('추가 정보', {
|
||||||
|
'fields': ('keyword1', '소개글')
|
||||||
|
}),
|
||||||
('설정', {
|
('설정', {
|
||||||
'fields': ('모든사람보기권한', '비밀번호설정필요', 'TITLE', 'SEQUENCE', 'keyword1', '가입일시')
|
'fields': ('모든사람보기권한', '비밀번호설정필요', 'TITLE', 'SEQUENCE', '가입일시')
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -80,7 +80,7 @@ class ProfileFullEditForm(forms.ModelForm):
|
|||||||
}),
|
}),
|
||||||
'keyword1': forms.TextInput(attrs={
|
'keyword1': forms.TextInput(attrs={
|
||||||
'class': 'w-full px-4 py-3 rounded-xl bg-white dark:bg-gray-700 text-gray-900 dark:text-white border border-gray-300 dark:border-gray-600 focus:outline-none focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 transition-colors duration-300',
|
'class': 'w-full px-4 py-3 rounded-xl bg-white dark:bg-gray-700 text-gray-900 dark:text-white border border-gray-300 dark:border-gray-600 focus:outline-none focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 transition-colors duration-300',
|
||||||
'placeholder': '검색 키워드 (예: 회계감사)'
|
'placeholder': '검색 키워드 (예: 잘생김, 골프천재, 댄스머신 ...)'
|
||||||
}),
|
}),
|
||||||
'소개글': forms.Textarea(attrs={
|
'소개글': forms.Textarea(attrs={
|
||||||
'class': 'w-full px-4 py-3 rounded-xl bg-white dark:bg-gray-700 text-gray-900 dark:text-white border border-gray-300 dark:border-gray-600 focus:outline-none focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 transition-colors duration-300',
|
'class': 'w-full px-4 py-3 rounded-xl bg-white dark:bg-gray-700 text-gray-900 dark:text-white border border-gray-300 dark:border-gray-600 focus:outline-none focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 transition-colors duration-300',
|
||||||
|
|||||||
BIN
db.sqlite3
BIN
db.sqlite3
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user