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:
Jimmy Gitonga 2016-12-09 21:28:42 +03:00 committed by GitHub
parent 5db3b39c19
commit 87b4867621

View File

@ -89,9 +89,9 @@ EMAIL_BACKEND = env('DJANGO_EMAIL_BACKEND', default='django.core.mail.backends.s
# MANAGER CONFIGURATION
# ------------------------------------------------------------------------------
# See: https://docs.djangoproject.com/en/dev/ref/settings/#admins
ADMINS = (
("""{{cookiecutter.author_name}}""", '{{cookiecutter.email}}'),
)
ADMINS = [
('{{cookiecutter.author_name}}', '{{cookiecutter.email}}'),
]
# See: https://docs.djangoproject.com/en/dev/ref/settings/#managers
MANAGERS = ADMINS