Commit 215c3cf4 authored by Mathieu Courcelles's avatar Mathieu Courcelles

Adds debug toolbar

parent 6523aadf
Pipeline #14981682 passed with stage
in 1 minute and 14 seconds
......@@ -86,7 +86,7 @@ DEFENDER_LOGIN_FAILURE_LIMIT = 10
DEFENDER_BEHIND_REVERSE_PROXY = True
DEFENDER_REDIS_URL = 'redis://redis:6379/0'
print('debug:', DEBUG)
if DEBUG:
INSTALLED_APPS += ['debug_toolbar']
MIDDLEWARE.insert(0, 'debug_toolbar.middleware.DebugToolbarMiddleware')
......@@ -97,4 +97,6 @@ if DEBUG:
DEBUG_TOOLBAR_CONFIG = {
'SHOW_TOOLBAR_CALLBACK': toolbar_callback
}
\ No newline at end of file
}
print('hey')
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment