File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 8282# https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html#settings
8383AWS_STORAGE_BUCKET_NAME = env ("DJANGO_AWS_STORAGE_BUCKET_NAME" )
8484# https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html#settings
85+ AWS_DEFAULT_ACL = None
86+ # https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html#settings
8587AWS_QUERYSTRING_AUTH = True
8688# DO NOT change these unless you know what you're doing.
8789_AWS_EXPIRY = 60 * 60 * 24 * 7
Original file line number Diff line number Diff line change 33
44class StaticRootS3Boto3Storage (S3Boto3Storage ):
55 location = "static"
6- default_acl = "public-read"
6+ default_acl = None
77
88
99class MediaRootS3Boto3Storage (S3Boto3Storage ):
1010 location = "media"
11+ default_acl = None
1112 file_overwrite = False
You can’t perform that action at this time.
0 commit comments