Skip to content
Snippets Groups Projects
Commit 9a4b2951 authored by Ben Adida's avatar Ben Adida
Browse files

format for ADMINS was wrong, fixing.

parent 3d1e8394
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,11 @@ DEBUG = (get_from_env('DEBUG', '1') == '1')
# add admins of the form:
# ('Ben Adida', 'ben@adida.net'),
# if you want to be emailed about errors.
ADMINS = (get_from_env('ADMIN_NAME', ''), get_from_env('ADMIN_EMAIL', ''))
admin_email = get_from_env('ADMIN_EMAIL', None)
if admin_email:
ADMINS = [(get_from_env('ADMIN_NAME', ''), admin_email)]
else:
ADMINS = []
MANAGERS = ADMINS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment