There was an error while loading. Please reload this page.
2 parents ce7c04c + 94bb2ba commit 5ebc9edCopy full SHA for 5ebc9ed
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