Add missing comma

The admins settings must be a list of 2-tuples and without the comma this
returns just the config tuple
This commit is contained in:
Roland Geider
2024-05-22 17:02:10 +02:00
parent 8b444bab67
commit e2f1751245

View File

@@ -15,9 +15,7 @@ env = environ.Env(
DEBUG = env("DJANGO_DEBUG")
if os.environ.get('DJANGO_ADMINS'):
ADMINS = (
env.list('DJANGO_ADMINS')
)
ADMINS = [env.tuple('DJANGO_ADMINS'), ]
MANAGERS = ADMINS
if os.environ.get("DJANGO_DB_ENGINE"):