From c35d759b74212434d6ee1bd318c611242ce6e922 Mon Sep 17 00:00:00 2001 From: Amjith Ramanujam Date: Sun, 4 Oct 2015 05:51:09 -0700 Subject: [PATCH] Fix the template syntax error. --- {{cookiecutter.repo_name}}/app.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.repo_name}}/app.json b/{{cookiecutter.repo_name}}/app.json index eb2bd723b..495770c78 100644 --- a/{{cookiecutter.repo_name}}/app.json +++ b/{{cookiecutter.repo_name}}/app.json @@ -20,9 +20,11 @@ "DJANGO_AWS_SECRET_ACCESS_KEY": "", "DJANGO_AWS_STORAGE_BUCKET_NAME": "", "DJANGO_MAILGUN_SERVER_NAME": "", + {% if cookiecutter.use_newrelic == "y" -%} + "NEW_RELIC_LICENSE_KEY": "", + {%- endif %} "DJANGO_MAILGUN_API_KEY": ""{% if cookiecutter.use_sentry == "y" -%}, - "DJANGO_SENTRY_DSN": ""{%- endif %}{% if cookiecutter.use_newrelic == "y -%"}, - "NEW_RELIC_LICENSE_KEY": ""{%- endif %} + "DJANGO_SENTRY_DSN": ""{%- endif %} }, "scripts": { "postdeploy": "python manage.py migrate"