mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-24 16:24:14 +03:00
Set AWS_DEFAULT_ACL to None as per django-storages documentation
fixes #1885
This commit is contained in:
parent
8925ec9d02
commit
6e9f87fced
|
@ -76,6 +76,8 @@ _AWS_EXPIRY = 60 * 60 * 24 * 7
|
||||||
AWS_S3_OBJECT_PARAMETERS = {
|
AWS_S3_OBJECT_PARAMETERS = {
|
||||||
"CacheControl": f"max-age={_AWS_EXPIRY}, s-maxage={_AWS_EXPIRY}, must-revalidate"
|
"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
|
# STATIC
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user