fix: a little cleanup

This commit is contained in:
Daniel Quinn
2017-03-11 16:37:18 +00:00
parent 55e81ca4bb
commit b5f6c06b8b
2 changed files with 2 additions and 1 deletions

View File

@@ -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(