Skip to content

Commit

Permalink
add aws acl defualt
Browse files Browse the repository at this point in the history
  • Loading branch information
Suryansh5545 committed Aug 10, 2023
1 parent ef8173a commit 11d48cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions settings/prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
AWS_ACCESS_KEY_ID = getenv("AWS_ACCESS_KEY_ID", "aws_access_key_id")
AWS_SECRET_ACCESS_KEY = getenv("AWS_SECRET_ACCESS_KEY", "aws_secret_access_key")
AWS_S3_ENDPOINT_URL = getenv("AWS_S3_ENDPOINT_URL", "aws_s3_endpoint_url")
AWS_DEFAULT_ACL = 'public-read'

STORAGES = {
"default": {"BACKEND": "storages.backends.s3boto3.S3Boto3Storage" },
Expand Down
1 change: 1 addition & 0 deletions settings/staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
AWS_ACCESS_KEY_ID = getenv("AWS_ACCESS_KEY_ID", "aws_access_key_id")
AWS_SECRET_ACCESS_KEY = getenv("AWS_SECRET_ACCESS_KEY", "aws_secret_access_key")
AWS_S3_ENDPOINT_URL = getenv("AWS_S3_ENDPOINT_URL", "aws_s3_endpoint_url")
AWS_DEFAULT_ACL = 'public-read'

STORAGES = {
"default": {"BACKEND": "storages.backends.s3boto3.S3Boto3Storage" },
Expand Down

0 comments on commit 11d48cd

Please sign in to comment.