mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +03:00
Fixed a bug with escaped spaces in Cache-Control.
see: https://github.com/boto/boto/issues/2536
This commit is contained in:
parent
a289d98a49
commit
ccbcd6cd6a
|
@ -70,8 +70,9 @@ INSTALLED_APPS = ('collectfast', ) + INSTALLED_APPS
|
|||
# AWS cache settings, don't change unless you know what you're doing:
|
||||
AWS_EXPIRY = 60 * 60 * 24 * 7
|
||||
AWS_HEADERS = {
|
||||
'Cache-Control': 'max-age=%d, s-maxage=%d, must-revalidate' % (
|
||||
AWS_EXPIRY, AWS_EXPIRY)
|
||||
'Cache-Control': str.encode(
|
||||
'max-age=%d, s-maxage=%d, must-revalidate' % (
|
||||
AWS_EXPIREY, AWS_EXPIREY))
|
||||
}
|
||||
|
||||
# See: https://docs.djangoproject.com/en/dev/ref/settings/#static-url
|
||||
|
|
Loading…
Reference in New Issue
Block a user