Make the static storage use public ACL

This commit is contained in:
Bruno Alla 2019-05-18 14:06:05 +01:00
parent 88243d088d
commit d90406c3c3

View File

@ -117,6 +117,7 @@ from storages.backends.s3boto3 import S3Boto3Storage # noqa E402
class StaticRootS3Boto3Storage(S3Boto3Storage): class StaticRootS3Boto3Storage(S3Boto3Storage):
location = "static" location = "static"
default_acl = "public-read"
class MediaRootS3Boto3Storage(S3Boto3Storage): class MediaRootS3Boto3Storage(S3Boto3Storage):