mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-06 05:00:18 +03:00
Update ADMINS from tuple to list.
In Django 1.9, the ADMINS email details were changed from a tuple to a list and the values are wrapped in single quote marks.
This commit is contained in:
parent
5db3b39c19
commit
87b4867621
|
@ -89,9 +89,9 @@ EMAIL_BACKEND = env('DJANGO_EMAIL_BACKEND', default='django.core.mail.backends.s
|
||||||
# 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
|
||||||
MANAGERS = ADMINS
|
MANAGERS = ADMINS
|
||||||
|
|
Loading…
Reference in New Issue
Block a user