Fix : side effects in local.py
This commit is contained in:
parent
d3ec952de8
commit
3fee57061d
1 changed files with 1 additions and 1 deletions
|
@ -57,6 +57,6 @@ def show_toolbar(request):
|
|||
|
||||
|
||||
if not TESTING:
|
||||
INSTALLED_APPS += ["debug_toolbar"]
|
||||
INSTALLED_APPS = INSTALLED_APPS + ["debug_toolbar"]
|
||||
MIDDLEWARE = ["debug_toolbar.middleware.DebugToolbarMiddleware"] + MIDDLEWARE
|
||||
DEBUG_TOOLBAR_CONFIG = {"SHOW_TOOLBAR_CALLBACK": show_toolbar}
|
||||
|
|
Loading…
Reference in a new issue