From a2947ecc736893b2d55e4e28d4dfabbe65b440d3 Mon Sep 17 00:00:00 2001 From: Kaveh Date: Fri, 24 Apr 2015 13:32:37 -0500 Subject: [PATCH] Added a note as a reminder to revert the last commit after this issue is fixed: https://github.com/jschneier/django-storages/issues/47 --- .../{{cookiecutter.repo_name}}/config/production.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/production.py b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/production.py index d5c6c649a..e5a9902a6 100644 --- a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/production.py +++ b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/production.py @@ -69,6 +69,10 @@ INSTALLED_APPS = ('collectfast', ) + INSTALLED_APPS # AWS cache settings, don't change unless you know what you're doing: 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 = { 'Cache-Control': str.encode( 'max-age=%d, s-maxage=%d, must-revalidate' % (