From 3ad2d5c61edd194ae8a807fac912f3e3ca8ca6f1 Mon Sep 17 00:00:00 2001 From: Alexandre Provencio Date: Wed, 31 Aug 2016 12:48:25 -0300 Subject: [PATCH] Fix docstrings --- {{cookiecutter.project_slug}}/config/settings/local.py | 4 ++++ {{cookiecutter.project_slug}}/config/settings/production.py | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.project_slug}}/config/settings/local.py b/{{cookiecutter.project_slug}}/config/settings/local.py index 504085d6..d1ca1cc5 100644 --- a/{{cookiecutter.project_slug}}/config/settings/local.py +++ b/{{cookiecutter.project_slug}}/config/settings/local.py @@ -3,7 +3,11 @@ Local settings - Run in Debug mode +{% if cookiecutter.use_mailhog == 'y' and cookiecutter.use_docker == 'y' %} +- Use mailhog for emails +{% else %} - Use console backend for emails +{% endif %} - Add Django Debug Toolbar - Add django-extensions as app """ diff --git a/{{cookiecutter.project_slug}}/config/settings/production.py b/{{cookiecutter.project_slug}}/config/settings/production.py index e4a91912..198a3e37 100644 --- a/{{cookiecutter.project_slug}}/config/settings/production.py +++ b/{{cookiecutter.project_slug}}/config/settings/production.py @@ -2,10 +2,9 @@ """ Production Configurations -- Use djangosecure - Use Amazon's S3 for storing static files and uploaded media - Use mailgun to send emails -- Use Redis on Heroku +- Use Redis for cache {% if cookiecutter.use_sentry_for_error_reporting == 'y' %} - Use sentry for error logging {% endif %}