Fix admins settings.
This commit is contained in:
parent
ba7fabf5c7
commit
e725729bb3
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue