Skip to content

Commit 20ee46a

Browse files
authored
Merge pull request #112 from cmu-delphi/dmytrotsko-patch-2
Update settings.py
2 parents 0721100 + cdff52b commit 20ee46a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/signal_documentation/settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949

5050
# SECURITY WARNING: don't run with debug turned on in production!
51-
DEBUG = True
51+
DEBUG = bool(strtobool(os.getenv('DEBUG', 'True')))
5252

5353

5454
# SECURITY WARNING: keep the secret key used in production secret!

0 commit comments

Comments
 (0)