From f3e2bc104c3631814f3d427becfe9711f863b017 Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Sat, 24 Oct 2020 14:25:44 +0200 Subject: [PATCH] fix code style --- inventory_project/settings.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inventory_project/settings.py b/inventory_project/settings.py index 493fce3..42bc4d6 100644 --- a/inventory_project/settings.py +++ b/inventory_project/settings.py @@ -6,7 +6,6 @@ import logging import os as __os from pathlib import Path as __Path - from django.utils.translation import ugettext_lazy as _ @@ -153,7 +152,7 @@ if ENABLE_DJDT: MIDDLEWARE += ['debug_toolbar.middleware.DebugToolbarMiddleware'] DEBUG_TOOLBAR_PATCH_SETTINGS = True - from debug_toolbar.settings import CONFIG_DEFAULTS as DEBUG_TOOLBAR_CONFIG + from debug_toolbar.settings import CONFIG_DEFAULTS as DEBUG_TOOLBAR_CONFIG # noqa # Disable some more panels that will slow down the page: DEBUG_TOOLBAR_CONFIG['DISABLE_PANELS'].add('debug_toolbar.panels.sql.SQLPanel')