fix(settings/production): fix typo s/AWS_EXPIREY/AWS_EXPIRY/g

This commit is contained in:
Saurabh Kumar 2015-04-26 10:40:06 +05:30
parent cdd0cc3a02
commit b60b01c4fe

View File

@ -80,9 +80,8 @@ AWS_EXPIRY = 60 * 60 * 24 * 7
# Revert the following and use str after the above-mentioned bug is fixed in # Revert the following and use str after the above-mentioned bug is fixed in
# either django-storage-redux or boto # 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' % ( AWS_EXPIRY, AWS_EXPIRY))
AWS_EXPIREY, AWS_EXPIREY))
} }
# See: https://docs.djangoproject.com/en/dev/ref/settings/#static-url # See: https://docs.djangoproject.com/en/dev/ref/settings/#static-url