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 = (
"created",
"added",
"archive_serial_number",
"id",
"title",
"mime_type",
"filename",
@ -76,7 +74,7 @@ class DocumentAdmin(admin.ModelAdmin):
filter_horizontal = ("tags",)
ordering = ["-created"]
ordering = ["-id"]
date_hierarchy = "created"