django2.2: fix breaking change for getting uploaded files size

This commit is contained in:
klmp200 committed 2019-10-08 22:46:38 +02:00
1 parent cf3f5ea60c
commit d7075eb762
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ class SASForm(forms.Form):
file=f,
owner=owner,
mime_type=f.content_type,
size=f._size,
size=f.size,
is_folder=False,
is_moderated=automodere,
)