Skip to content

Commit f7b55a7

Browse files
author
Dennis Schwartz
committed
Add debug docs.
1 parent 9b7b8a8 commit f7b55a7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,9 @@ $ python manage.py updatecomponents
4141
```
4242

4343
Navigate to [127.0.0.1:8000](http://127.0.0.1:8000/).
44+
45+
## Settings
46+
47+
### Debugging
48+
49+
Enable debug logs by editing the DEBUG=False setting in `biojs/settings.py`

biojs/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
GITHUB_CLIENT_ID = os.environ.get('GITHUB_CLIENT_ID') or ''
2626
GITHUB_CLIENT_SECRET = os.environ.get('GITHUB_CLIENT_SECRET') or ''
2727

28+
DEBUG=False
29+
2830
# SECURITY WARNING: don't run with debug turned on in production!
2931
try:
3032
from config import *

0 commit comments

Comments
 (0)