From 7e048c89425b3ae8d46284687d38679234aa9465 Mon Sep 17 00:00:00 2001 From: Chris Franklin Date: Wed, 3 Dec 2014 15:02:52 +0000 Subject: [PATCH 1/2] Fix spelling mistakes in production config --- .../{{cookiecutter.repo_name}}/config/production.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/production.py b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/production.py index bc5ae8de..78908f20 100644 --- a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/production.py +++ b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/production.py @@ -4,7 +4,7 @@ Production Configurations - Use djangosecure - Use Amazon's S3 for storing static files and uploaded media -- Use sendgird to sendemails +- Use sendgrid to send emails - Use MEMCACHIER on Heroku ''' from configurations import values @@ -74,13 +74,13 @@ class Production(Common): # see: https://github.com/antonagestam/collectfast AWS_PRELOAD_METADATA = True - INSTALLED_APPS += ("collectfast", ) + INSTALLED_APPS += ('collectfast', ) # AWS cache settings, don't change unless you know what you're doing: - AWS_EXPIREY = 60 * 60 * 24 * 7 + AWS_EXPIRY = 60 * 60 * 24 * 7 AWS_HEADERS = { 'Cache-Control': '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 From 9ee47dab781f3a9d87cad557c60a8b088618dbdf Mon Sep 17 00:00:00 2001 From: Chris Franklin Date: Wed, 3 Dec 2014 15:04:52 +0000 Subject: [PATCH 2/2] Fix quote marks --- .../{{cookiecutter.repo_name}}/config/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/local.py b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/local.py index 534a16a5..bf989dad 100644 --- a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/local.py +++ b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/local.py @@ -22,7 +22,7 @@ class Local(Common): # END INSTALLED_APPS # Mail settings - EMAIL_HOST = "localhost" + EMAIL_HOST = 'localhost' EMAIL_PORT = 1025 EMAIL_BACKEND = values.Value('django.core.mail.backends.console.EmailBackend') # End mail settings