Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Websites UFRPE
Django Private Storage
Commits
580df971
Commit
580df971
authored
Sep 07, 2018
by
surfer190
Browse files
Remove strict keyword argument
parent
3dbf66fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
private_storage/storage/s3boto3.py
View file @
580df971
...
...
@@ -24,7 +24,7 @@ class PrivateS3BotoStorage(S3Boto3Storage):
secret_key
=
setting
(
'AWS_PRIVATE_S3_SECRET_ACCESS_KEY'
,
setting
(
'AWS_PRIVATE_SECRET_ACCESS_KEY'
,
S3Boto3Storage
.
secret_key
))
file_overwrite
=
setting
(
'AWS_PRIVATE_S3_FILE_OVERWRITE'
,
False
)
# false, differ from base class
object_parameters
=
setting
(
'AWS_PRIVATE_S3_OBJECT_PARAMETERS'
,
{})
bucket_name
=
setting
(
'AWS_PRIVATE_STORAGE_BUCKET_NAME'
,
strict
=
True
)
bucket_name
=
setting
(
'AWS_PRIVATE_STORAGE_BUCKET_NAME'
)
auto_create_bucket
=
setting
(
'AWS_PRIVATE_AUTO_CREATE_BUCKET'
,
False
)
default_acl
=
setting
(
'AWS_PRIVATE_DEFAULT_ACL'
,
'private'
)
# differ from base class
bucket_acl
=
setting
(
'AWS_PRIVATE_BUCKET_ACL'
,
default_acl
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment