Добавлена возможность выбора категории из спика
This commit is contained in:
1 parent
ff92bca09c
commit
5e6be9a50f
2 files changed
+10
-1
No files matched your search
@@ -3,6 +3,8 @@ from django.contrib import admin
|
||||
from .models import SafetyFile
|
||||
# Register your models here.
|
||||
|
||||
|
||||
|
||||
class SafetyFileAdmin(admin.ModelAdmin):
|
||||
list_display = ('name_chapter', 'date_file', 'document_category', 'file_document')
|
||||
list_editable = ('date_file', 'document_category')
|
||||
|
||||
Reference in new issue
Block a user