Skip to content

Commit 5ebc9ed

Browse files
authored
Merge pull request testdrivenio#53 from kaypee90/master
Switch Debug Flag from int to bool
2 parents ce7c04c + 94bb2ba commit 5ebc9ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/hello_django/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
SECRET_KEY = os.environ.get("SECRET_KEY")
2525

26-
DEBUG = int(os.environ.get("DEBUG", default=0))
26+
DEBUG = bool(os.environ.get("DEBUG", default=0))
2727

2828
# 'DJANGO_ALLOWED_HOSTS' should be a single string of hosts with a space between each.
2929
# For example: 'DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1 [::1]'

0 commit comments

Comments
 (0)