-
-
Notifications
You must be signed in to change notification settings - Fork 865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
S3 bucket name automatically appended to URL path #1349
Comments
Try to set AWS_S3_CUSTOM_DOMAIN in your settings |
But then I would lose the query strings. |
If you mean AWS_QUERYSTRING_AUTH you shouldn't lose it. |
I do lose it unfortunately, there is an open thread on this. If there is not other way around the bucket name thing but use |
I ended up omitting the |
Hey, pretty sure this has to do with the |
I did see that but thanks for highlighting it, maybe someone who really need to set |
An S3 file URL is expected to be as follows:
The problem is
django-storages
appears to automatically append the bucket name to the endpoint URL, which therefore leads to having:These are the init'ed Django settings:
Any ideas on how to prevent this behavior cleanly?
The text was updated successfully, but these errors were encountered: