Closed torgeirl closed 2 months ago
Change the with file_object.file.open('r') as f:
to with file_object.file.open() as f:
since it failes on the check in django-storages. That check is only applied when mode is specified. And it looks like S3Files are using 'rb' by default. 1afaede
Fixed
ZIP steaming from a S3 backend fails with django-storages 1.14.2 (or newer). Looks to be related with an issue solved in django-storages v1.14.2.