Skip to content

Commit

Permalink
Add missing comma
Browse files Browse the repository at this point in the history
The admins settings must be a list of 2-tuples and without the comma this
returns just the config tuple
  • Loading branch information
rolandgeider committed May 22, 2024
1 parent 8b444ba commit e2f1751
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions extras/docker/development/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
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"):
Expand Down

0 comments on commit e2f1751

Please sign in to comment.