It should be a touple.
This commit is contained in:
parent
e725729bb3
commit
f585299388
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue