mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 09:37:04 +01:00
added filenames to the API #108
This commit is contained in:
parent
35c3d5c0b5
commit
87fa118de0
4 changed files with 67 additions and 21 deletions
|
|
@ -50,7 +50,12 @@ class DocumentTypeAdmin(admin.ModelAdmin):
|
|||
class DocumentAdmin(admin.ModelAdmin):
|
||||
|
||||
search_fields = ("correspondent__name", "title", "content", "tags__name")
|
||||
readonly_fields = ("added", "mime_type", "storage_type", "filename")
|
||||
readonly_fields = (
|
||||
"added",
|
||||
"modified",
|
||||
"mime_type",
|
||||
"storage_type",
|
||||
"filename")
|
||||
|
||||
list_display_links = ("title",)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue