mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
django2.2: fix breaking change for getting uploaded files size
This commit is contained in:
@ -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,
|
||||
)
|
||||
|
Reference in New Issue
Block a user