mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-06-11 09:03:07 +03:00
Added triple quotes to admin name fix #145
This fixes the problem with author names with apostrophes breaking the settings files.
This commit is contained in:
parent
7f6ba8eb6a
commit
259f0afae6
|
@ -103,7 +103,7 @@ class Common(Configuration):
|
||||||
# MANAGER CONFIGURATION
|
# MANAGER CONFIGURATION
|
||||||
# See: https://docs.djangoproject.com/en/dev/ref/settings/#admins
|
# See: https://docs.djangoproject.com/en/dev/ref/settings/#admins
|
||||||
ADMINS = (
|
ADMINS = (
|
||||||
('{{cookiecutter.author_name}}', '{{cookiecutter.email}}'),
|
("""{{cookiecutter.author_name}}""", '{{cookiecutter.email}}'),
|
||||||
)
|
)
|
||||||
|
|
||||||
# See: https://docs.djangoproject.com/en/dev/ref/settings/#managers
|
# See: https://docs.djangoproject.com/en/dev/ref/settings/#managers
|
||||||
|
|
Loading…
Reference in New Issue
Block a user