From f585299388b6e347a6acb47ca1b09347d12c73bb 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:46:19 +0100 Subject: [PATCH] It should be a touple. --- 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 65d2930..af44f9e 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 = [x.split(":") for x in env.list("DJANGO_ADMINS", default=[])] +ADMINS = [tuple(x.split(":")) for x in env.list("DJANGO_ADMINS", default=[])] # Application definition