Comments (5)
Yes, this is due to the way that the settings are declared at the class level variable. This is unfortunately inherited legacy. It's a larger cleanup but basically my biggest desire from a maintenance perspective, should make testing easier.
from django-storages.
#524 is aiming to fix this.
from django-storages.
Is this still an issue? It's really difficult to debug this without seeing more of your settings file, and the way this is described, it's likely to not be a django-storages issue but more with something specific to how you wrote the file.
from django-storages.
The issue was basically just that I had to define the AWS variables before doing:
from storages.backends.s3boto import S3BotoStorage
I worked around it but that's what was happening.
from django-storages.
Fixed in #524.
from django-storages.
Related Issues (20)
- AzureStorage fails with valid connection string using shared access signature HOT 1
- S3File: open('rb') -> ValueError('The file cannot be reopened.') HOT 1
- `closed` is True right after opening a `S3File` HOT 2
- Cannot read a file (from s3) twice (ValueError: The file cannot be reopened). HOT 3
- How to use two different S3 buckets for static and media storage in django-storages HOT 4
- Incorrect upload URL for Digital Ocean HOT 1
- [BUG] Wrong file url after uploading to s3 storage HOT 1
- An error occurred (RequestTimeTooSkewed) when calling the PutObject operation: The difference between the request time and the current time is too large. HOT 3
- Fix S3 signed url performance HOT 2
- `AWS_S3_*` environment variables are ignored
- Threaded parallel uploads on S3 HOT 5
- collectstatic fails to find file when ManifestFilesMixin is used. HOT 1
- Wrong file url in Azure Blob
- Cannot set ResponseContentDisposition header with CloudFront presigned url
- How do I use R2 instead of S3? HOT 1
- When trying to access files throug sftp "took too long to shut down and was killed" error. HOT 5
- function' object has no attribute 'rsplit' HOT 1
- Issue with get_modified_time for SFTP Storage HOT 1
- FileResponse + S3File + gzip + WSGI = 💥
- S3 bucket name automatically appended to URL path HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-storages.