Skip to content

Commit

Permalink
debug false by default (#1550)
Browse files Browse the repository at this point in the history
* debug false by default

* make debug mode configurable
  • Loading branch information
BradleySappington committed May 1, 2024
1 parent 4340686 commit 00b66f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions jwql/example_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"PORT" : ""
}
},
"django_debug" : false,
"jwql_dir" : "",
"jwql_version": "",
"server_type": "",
Expand Down
2 changes: 1 addition & 1 deletion jwql/website/jwql_proj/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
SECRET_KEY = get_config()['django_secret_key']

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = get_config()['django_debug']


ALLOWED_HOSTS = ['*']
Expand Down

0 comments on commit 00b66f5

Please sign in to comment.