mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-05 04:30:16 +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
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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
|
||||
|
|
Loading…
Reference in New Issue
Block a user