mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 04:19:25 +00:00
django2.2: fix breaking change for getting uploaded files size
This commit is contained in:
@ -109,7 +109,7 @@ class AddFilesForm(forms.Form):
|
||||
owner=owner,
|
||||
is_folder=False,
|
||||
mime_type=f.content_type,
|
||||
size=f._size,
|
||||
size=f.size,
|
||||
)
|
||||
try:
|
||||
new_file.clean()
|
||||
|
Reference in New Issue
Block a user