From e725729bb334924da4e2037b6aeea1511b746bfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Wed, 3 Mar 2021 17:32:34 +0100 Subject: [PATCH] Fix admins settings. --- src/project/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/project/settings.py b/src/project/settings.py index e431c7e..65d2930 100644 --- a/src/project/settings.py +++ b/src/project/settings.py @@ -17,7 +17,7 @@ DEBUG = env.bool("DEBUG", default=False) ALLOWED_HOSTS = env.list("ALLOWED_HOSTS", default=["*"]) -ADMINS = env.list("DJANGO_ADMINS", default=[]) +ADMINS = [x.split(":") for x in env.list("DJANGO_ADMINS", default=[])] # Application definition