From b60b01c4fede7d6e8167e3a057c61f249a0f9a8b Mon Sep 17 00:00:00 2001 From: Saurabh Kumar Date: Sun, 26 Apr 2015 10:40:06 +0530 Subject: [PATCH] fix(settings/production): fix typo s/AWS_EXPIREY/AWS_EXPIRY/g --- .../{{cookiecutter.repo_name}}/config/production.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/production.py b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/production.py index dae3a273..38d304d2 100644 --- a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/production.py +++ b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/production.py @@ -80,9 +80,8 @@ AWS_EXPIRY = 60 * 60 * 24 * 7 # 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' % ( - AWS_EXPIREY, AWS_EXPIREY)) + 'Cache-Control': str.encode('max-age=%d, s-maxage=%d, must-revalidate' % ( + AWS_EXPIRY, AWS_EXPIRY)) } # See: https://docs.djangoproject.com/en/dev/ref/settings/#static-url