how to create a file on s3 with storages?

Issue #112 duplicate
Ben C created an issue

f = default_storage.open('test', 'w') causes an error with s3boto.

I'd love for it to work so I could use the file handle and pass it to PIL. I'm looking to process images on another server and save them on s3.

Comments (1)

  1. Ian Lewis

    This was fixed in trunk as part of issue #108. You can check out trunk or you can use the save() method to create a file.

    default_storage.save("test", django_file_obj)
    

    Duplicate of #108.

  2. Log in to comment