From 97760cb49dc016676927b21b561a211d38cbb76a Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Mon, 16 Nov 2020 19:07:10 +0100 Subject: [PATCH] Fix : side effects in local.py --- annuaire/settings/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/annuaire/settings/local.py b/annuaire/settings/local.py index 7275ef6..22be900 100644 --- a/annuaire/settings/local.py +++ b/annuaire/settings/local.py @@ -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}