There was an error while loading. Please reload this page.
2 parents ce7c04c + 4da7120 commit 94bb2baCopy full SHA for 94bb2ba
app/hello_django/settings.py
@@ -23,7 +23,7 @@
23
24
SECRET_KEY = os.environ.get("SECRET_KEY")
25
26
-DEBUG = int(os.environ.get("DEBUG", default=0))
+DEBUG = bool(os.environ.get("DEBUG", default=0))
27
28
# 'DJANGO_ALLOWED_HOSTS' should be a single string of hosts with a space between each.
29
# For example: 'DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1 [::1]'
0 commit comments