Using this config Django raises <LibcloudError in <class 'libcloud.storage.drivers.s3.S3StorageDriver'> 'Unknown error. Status code: 302'> when a render function is called. I've tried renaming the providers to google or default and it gives the same problem.
LIBCLOUD_PROVIDERS = { 'static': { 'type': 'libcloud.storage.types.Provider.GOOGLE_STORAGE', 'user': 'my-user', 'key': 'my-key', 'bucket': 'my-static', }, 'media': { 'type': 'libcloud.storage.types.Provider.GOOGLE_STORAGE', 'user': 'my-user', 'key': 'my-key', 'bucket': 'my-media', }, } DEFAULT_LIBCLOUD_PROVIDER = 'static' DEFAULT_FILE_STORAGE = 'storages.backends.apache_libcloud.LibCloudStorage' STATICFILES_STORAGE = 'storages.backends.apache_libcloud.LibCloudStorage'
Using this config Django raises <LibcloudError in <class 'libcloud.storage.drivers.s3.S3StorageDriver'> 'Unknown error. Status code: 302'> when a render function is called. I've tried renaming the providers to google or default and it gives the same problem.