mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-04-25 10:53:45 +03:00
Added a note as a reminder to revert the last commit after this issue is
fixed: https://github.com/jschneier/django-storages/issues/47
This commit is contained in:
parent
ccbcd6cd6a
commit
a2947ecc73
|
@ -69,6 +69,10 @@ INSTALLED_APPS = ('collectfast', ) + INSTALLED_APPS
|
||||||
|
|
||||||
# AWS cache settings, don't change unless you know what you're doing:
|
# AWS cache settings, don't change unless you know what you're doing:
|
||||||
AWS_EXPIRY = 60 * 60 * 24 * 7
|
AWS_EXPIRY = 60 * 60 * 24 * 7
|
||||||
|
|
||||||
|
# TODO See: https://github.com/jschneier/django-storages/issues/47
|
||||||
|
# Revert the following and use str after the above-mentioned bug is fixed in
|
||||||
|
# either django-storage-redux or boto
|
||||||
AWS_HEADERS = {
|
AWS_HEADERS = {
|
||||||
'Cache-Control': str.encode(
|
'Cache-Control': str.encode(
|
||||||
'max-age=%d, s-maxage=%d, must-revalidate' % (
|
'max-age=%d, s-maxage=%d, must-revalidate' % (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user