todo note

This commit is contained in:
jonaswinkler 2020-11-27 12:03:24 +01:00
parent f47837efde
commit c4904b8dfc

View File

@ -230,6 +230,7 @@ class Document(models.Model):
@property
def file_type(self):
# TODO: this is not stable across python versions
return mimetypes.guess_extension(str(self.mime_type))
@property