changes to the admin document list

This commit is contained in:
jonaswinkler 2021-02-10 21:34:50 +01:00
parent 857fe3a55c
commit 3fa7dcb0cb

View File

@ -59,9 +59,7 @@ class DocumentAdmin(admin.ModelAdmin):
list_display_links = ("title",) list_display_links = ("title",)
list_display = ( list_display = (
"created", "id",
"added",
"archive_serial_number",
"title", "title",
"mime_type", "mime_type",
"filename", "filename",
@ -76,7 +74,7 @@ class DocumentAdmin(admin.ModelAdmin):
filter_horizontal = ("tags",) filter_horizontal = ("tags",)
ordering = ["-created"] ordering = ["-id"]
date_hierarchy = "created" date_hierarchy = "created"