1. David Larlet
  2. django-storages
  3. Pull requests

Pull requests

#41 Merged
Repository
jezdez
Branch
default
Repository
david
Branch
default

Add Google Cloud Storage backend based on the boto S3 storage backend

Author
  1. Jannis Leidel
Reviewers
Description
No description

Comments (5)

  1. Chee-Hyung Yoon

    This is the test code for writing to a file.

        gs_storage = GSBotoStorage(GS_ACCESS_KEY_ID, GS_SECRET_ACCESS_KEY)
        file = gs_storage.open('test', 'w')
        file.write('test')
    

    This is the traceback.

        Traceback (most recent call last):
          File "<console>", line 1, in <module>
          File "venv/lib/python2.7/site-packages/storages/backends/s3boto.py", line 411, in write
    self.key.name,
          File "venv/lib/python2.7/site-packages/boto/s3/bucket.py", line 1512, in initiate_multipart_upload
    response.status, response.reason, body)
        GSResponseError: GSResponseError: 400 Bad Request
        None