1. David Larlet
  2. django-storages
  3. Issues


Issue #21 open

Uploading files larger than FILE_UPLOAD_MAX_MEMORY_SIZE fails

Jason Christa
created an issue

I was using models.FileField with S3Storage as my storage. Eventually close is called on a TemporaryFile object which does not implement the close method and the save errors out. This does not happen when using the default file storage.

Edit: Also this does not happen with Boto either.

Comments (6)

  1. Jason Christa reporter

    Nothing jumps out at me. I am not even sure how it works with InMemoryFiles but not with TemporaryFiles, it seems like that should both cause the error.

    Hopefully I will have some time to go through the stack trace more thoroughly in the next couple of days.

  2. Log in to comment