mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 02:27:06 +01:00
fix: a little cleanup
This commit is contained in:
parent
55e81ca4bb
commit
b5f6c06b8b
2 changed files with 2 additions and 1 deletions
|
|
@ -67,6 +67,7 @@ class DocumentAdmin(CommonAdmin):
|
|||
|
||||
def created_(self, obj):
|
||||
return obj.created.date().strftime("%Y-%m-%d")
|
||||
created_.short_description = "Created"
|
||||
|
||||
def thumbnail(self, obj):
|
||||
png_img = self._html_tag(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue