-
-
Notifications
You must be signed in to change notification settings - Fork 869
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
S3Boto3Storage: bucket_params not used #257
Comments
Yep. |
jschneier
pushed a commit
that referenced
this issue
Feb 28, 2017
jschneier
added a commit
that referenced
this issue
Feb 28, 2017
Added a test. Thanks. |
This was referenced Jun 21, 2017
This was referenced Jun 22, 2017
This was referenced Jul 1, 2017
This was referenced Jul 27, 2017
This was referenced Nov 10, 2017
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
On line 363 of the
_get_or_create_bucket()
method ofS3Boto3Storage
,bucket_params
is defined and includes the bucket's ACL setting. However, whenbucket.create()
is called,bucket_params
isn't used andACL
is set explicitly.Additionally, if a region is specified, it's added to
bucket_params
but not set whenbucket.create()
is called. This makes all created buckets default to us-standard.Here's the offending lines:
I believe the
bucket.create()
call should bebucket.create(**bucket_params)
. I'll submit a PR for this in the next five minutes or so.The text was updated successfully, but these errors were encountered: