Fix admins format

This commit is contained in:
Christopher Neugebauer 2017-09-17 12:08:46 -07:00
parent 3f4b525a7a
commit 7b9dd1e8b8

View file

@ -43,7 +43,7 @@ TIME_ZONE = os.environ.get("TZ", "America/Los_Angeles")
# Set the email address that will receive errors. # Set the email address that will receive errors.
admin_email = os.environ.get("DJANGO_ADMIN_EMAIL", None) admin_email = os.environ.get("DJANGO_ADMIN_EMAIL", None)
if admin_email is not None: if admin_email is not None:
ADMINS = ("Webmaster", admin_email) ADMINS = [("Webmaster", admin_email)]
# Use SSLRedirectMiddleware # Use SSLRedirectMiddleware