mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 17:17:26 +01:00
mime type handling
This commit is contained in:
parent
bd45a804a7
commit
41650f20f4
19 changed files with 163 additions and 146 deletions
|
|
@ -50,7 +50,7 @@ class DocumentTypeAdmin(admin.ModelAdmin):
|
|||
class DocumentAdmin(admin.ModelAdmin):
|
||||
|
||||
search_fields = ("correspondent__name", "title", "content", "tags__name")
|
||||
readonly_fields = ("added", "file_type", "storage_type", "filename")
|
||||
readonly_fields = ("added", "mime_type", "storage_type", "filename")
|
||||
list_display = (
|
||||
"title",
|
||||
"created",
|
||||
|
|
@ -58,8 +58,7 @@ class DocumentAdmin(admin.ModelAdmin):
|
|||
"correspondent",
|
||||
"tags_",
|
||||
"archive_serial_number",
|
||||
"document_type",
|
||||
"filename"
|
||||
"document_type"
|
||||
)
|
||||
list_filter = (
|
||||
"document_type",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue