Add debug_toolbar.middleware.DebugToolbarMiddleware to MIDDLEWARE classes in development.py

This commit is contained in:
beeankha
2019-05-08 14:07:00 -04:00
parent 6bc1856658
commit 97dc77ea63
2 changed files with 8 additions and 2 deletions

View File

@@ -162,3 +162,9 @@ except Exception:
os.environ['SDB_NOTIFY_HOST'] = os.popen('ip route').read().split(' ')[2]
WEBSOCKET_ORIGIN_WHITELIST = ['https://localhost:8043', 'https://localhost:3000']
MIDDLEWARE = [
# ...
'debug_toolbar.middleware.DebugToolbarMiddleware',
# ...
]