Fix admins format
This commit is contained in:
parent
3f4b525a7a
commit
7b9dd1e8b8
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ TIME_ZONE = os.environ.get("TZ", "America/Los_Angeles")
|
|||
# Set the email address that will receive errors.
|
||||
admin_email = os.environ.get("DJANGO_ADMIN_EMAIL", None)
|
||||
if admin_email is not None:
|
||||
ADMINS = ("Webmaster", admin_email)
|
||||
ADMINS = [("Webmaster", admin_email)]
|
||||
|
||||
|
||||
# Use SSLRedirectMiddleware
|
||||
|
|
Loading…
Reference in a new issue