From 259f0afae6b030222d4048c752b14f0830c54c7c Mon Sep 17 00:00:00 2001 From: Daniel Greenfeld Date: Tue, 21 Oct 2014 21:33:56 -0700 Subject: [PATCH] Added triple quotes to admin name fix #145 This fixes the problem with author names with apostrophes breaking the settings files. --- .../{{cookiecutter.repo_name}}/config/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/common.py b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/common.py index 98795040..09cb749a 100644 --- a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/common.py +++ b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/common.py @@ -103,7 +103,7 @@ class Common(Configuration): # MANAGER CONFIGURATION # See: https://docs.djangoproject.com/en/dev/ref/settings/#admins ADMINS = ( - ('{{cookiecutter.author_name}}', '{{cookiecutter.email}}'), + ("""{{cookiecutter.author_name}}""", '{{cookiecutter.email}}'), ) # See: https://docs.djangoproject.com/en/dev/ref/settings/#managers