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

This commit is contained in:
2019-10-06 14:11:38 +02:00
parent cf3f5ea60c
commit d7075eb762
4 changed files with 4 additions and 4 deletions

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,
)