Fix : side effects in local.py
This commit is contained in:
parent
783a76dc1c
commit
97760cb49d
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