Skip to content

Commit

Permalink
get debug mode from environment variable (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
ylked authored Mar 18, 2024
1 parent 79e7fff commit ce37bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/neurona/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
SECRET_KEY = "django-insecure-u2y&tl=67+qayf=6zphl*8$&sygjuik@-1wux%84xf2b*)dq$t"

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = env.bool("DEBUG", default=False)

ALLOWED_HOSTS = env.list("ALLOWED_HOSTS")

Expand Down

0 comments on commit ce37bb0

Please sign in to comment.