When using the field to upload a ZIP to import image in an Album, an exception is raised:
'InMemoryUploadedFile' object has no attribute '_size
This is due to recent Django (>=2.0) where _size attribute is not available anymore on InMemoryUploadedFile and have been replaced with size.
When using the field to upload a ZIP to import image in an Album, an exception is raised:
'InMemoryUploadedFile' object has no attribute '_size
This is due to recent Django (>=2.0) where_size
attribute is not available anymore onInMemoryUploadedFile
and have been replaced withsize
.