Inconsistent use of 'AWS_EXPIRY'

This commit is contained in:
Lin Xianyi 2015-04-26 09:38:14 +08:00
parent 0f8f564790
commit b195f082c7

View File

@ -82,7 +82,7 @@ AWS_EXPIRY = 60 * 60 * 24 * 7
AWS_HEADERS = {
'Cache-Control': str.encode(
'max-age=%d, s-maxage=%d, must-revalidate' % (
AWS_EXPIREY, AWS_EXPIREY))
AWS_EXPIRY, AWS_EXPIRY))
}
# See: https://docs.djangoproject.com/en/dev/ref/settings/#static-url