Update settings ; remove debug_panel

This commit is contained in:
Ludovic Stephan 2019-04-12 17:04:33 +02:00
parent f32e4a9b0d
commit 759b6d9489
2 changed files with 2 additions and 3 deletions

View file

@ -112,7 +112,6 @@ MIDDLEWARE = [
"django.middleware.common.CommonMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.contrib.auth.middleware.SessionAuthenticationMiddleware",
"kfet.auth.middleware.TemporaryAuthMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",

View file

@ -44,8 +44,8 @@ def show_toolbar(request):
if not TESTING:
INSTALLED_APPS += ["debug_toolbar", "debug_panel"]
INSTALLED_APPS += ["debug_toolbar"]
MIDDLEWARE = ["debug_panel.middleware.DebugPanelMiddleware"] + MIDDLEWARE
MIDDLEWARE = ["debug_toolbar.middleware.DebugToolbarMiddleware"] + MIDDLEWARE
DEBUG_TOOLBAR_CONFIG = {"SHOW_TOOLBAR_CALLBACK": show_toolbar}