Set AWS_DEFAULT_ACL to None as per django-storages documentation

fixes #1885
This commit is contained in:
Bruno Alla 2019-03-19 19:57:31 +00:00
parent 8925ec9d02
commit 6e9f87fced

View File

@ -76,6 +76,8 @@ _AWS_EXPIRY = 60 * 60 * 24 * 7
AWS_S3_OBJECT_PARAMETERS = {
"CacheControl": f"max-age={_AWS_EXPIRY}, s-maxage={_AWS_EXPIRY}, must-revalidate"
}
# https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html#settings
AWS_DEFAULT_ACL = None
# STATIC
# ------------------------