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:
Kaveh 2015-04-24 13:32:37 -05:00
parent ccbcd6cd6a
commit a2947ecc73

View File

@ -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' % (