Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

show the filename in the admin.

Jonas Winkleree6942989843
diff --git a/src/documents/admin.py b/src/documents/admin.py
index 6ac949a45..0f63253ce 100755
--- a/src/documents/admin.py
+++ b/src/documents/admin.py
@@ -32,7 +32,7 @@ class TagAdmin(admin.ModelAdmin):
list_filter = ("colour", "matching_algorithm")
list_editable = ("colour", "match", "matching_algorithm")
- readonly_fields = ("slug",)
+ readonly_fields = ("slug", )
class DocumentTypeAdmin(admin.ModelAdmin):
@@ -51,9 +51,9 @@ class DocumentTypeAdmin(admin.ModelAdmin):
class DocumentAdmin(admin.ModelAdmin):
search_fields = ("correspondent__name", "title", "content", "tags__name")
- readonly_fields = ("added", "file_type", "storage_type",)
+ readonly_fields = ("added", "file_type", "storage_type", "filename")
list_display = ("title", "created", "added", "correspondent",
- "tags_", "archive_serial_number", "document_type")
+ "tags_", "archive_serial_number", "document_type", "filename")
list_filter = (
"document_type",
"tags",