-
-
Notifications
You must be signed in to change notification settings - Fork 866
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
Add instructions for using django-storages with Scaleway Object storage #1259
Conversation
Add instructions for using with Scaleway Object Storage
Reformat the code sample - it's not GH markdown
docs/backends/scaleway.rst
Outdated
|
||
- Set ``AWS_BUCKET_NAME`` to the Bucket you want write to (such as ``my-chosen-bucket``) | ||
- Set ``AWS_S3_REGION_NAME`` to your Scaleway region (such as ``nl-ams`` or ``fr-par``) | ||
- Set ``AWS_S3_ENDPOINT_URL`` to the value of ``https://{AWS_BUCKET_NAME}.s3.${AWS_S3_REGION_NAME}.scw.cloud`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The bucket name should not be included into the endpoint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Laurent, much appreciated 👍
Co-authored-by: Laurent Verdoïa <[email protected]>
I've made that change now @lvjp - this look ok now? |
The docs have been restructured a bit so that the S3 compatible backends are in their own section. Now that that's inplace I'd be happy to take this if you want to rebase to fit it into that structure. |
If would be written to the following address: | ||
|
||
https://s3.nl-ams.scw.cloud/my-chosen-bucket/my_chosen_file.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If would be written to the following address: | |
https://s3.nl-ams.scw.cloud/my-chosen-bucket/my_chosen_file.txt | |
If would be written to the following addresses: | |
https://s3.nl-ams.scw.cloud/my-chosen-bucket/my_chosen_file.txt | |
https://my-chosen-bucket.s3.nl-ams.scw.cloud/my_chosen_file.txt |
Superseded by #1419 |
hi there!
Thank you for creating Django Storage - I figured out how to use it with Scaleway Object storage this week for a project, which is broadly compatible with AWS S3 storage, and I wanted to share this back.
I'm a little rusty with my restructured text, so I've made this draft PR, and once I figure out how to format the code example in the docs, I'll remove the draft status, ready for review.I think I've updated it now.