fix: a little cleanup

This commit is contained in:
Daniel Quinn committed 2017-03-25 15:10:25 +00:00
1 parent 55e81ca4bb
commit b5f6c06b8b
2 files changed
+2 -1

No files matched your search

+1
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(