From 681a4c5cce971532d6a3c3c85ae2d7add8f6bd47 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 27 May 2024 21:11:31 +0100 Subject: Trying to remove django_toolbar - also removes whitenose settings --- config/settings/local.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'config') diff --git a/config/settings/local.py b/config/settings/local.py index 9db7081..c876242 100644 --- a/config/settings/local.py +++ b/config/settings/local.py @@ -1,7 +1,6 @@ # ruff: noqa: E501 from .base import * # noqa: F403 from .base import INSTALLED_APPS -from .base import MIDDLEWARE from .base import env # GENERAL @@ -36,20 +35,20 @@ EMAIL_PORT = 1025 # WhiteNoise # ------------------------------------------------------------------------------ # http://whitenoise.evans.io/en/latest/django.html#using-whitenoise-in-development -INSTALLED_APPS = ["whitenoise.runserver_nostatic", *INSTALLED_APPS] +#INSTALLED_APPS = ["whitenoise.runserver_nostatic", *INSTALLED_APPS] # django-debug-toolbar # ------------------------------------------------------------------------------ # https://django-debug-toolbar.readthedocs.io/en/latest/installation.html#prerequisites -INSTALLED_APPS += ["debug_toolbar"] +#INSTALLED_APPS += ["debug_toolbar"] # https://django-debug-toolbar.readthedocs.io/en/latest/installation.html#middleware -MIDDLEWARE += ["debug_toolbar.middleware.DebugToolbarMiddleware"] +#MIDDLEWARE += ["debug_toolbar.middleware.DebugToolbarMiddleware"] # https://django-debug-toolbar.readthedocs.io/en/latest/configuration.html#debug-toolbar-config -DEBUG_TOOLBAR_CONFIG = { - # "DISABLE_PANELS": ["debug_toolbar.panels.redirects.RedirectsPanel"], - "SHOW_TEMPLATE_CONTEXT": True, -} +# DEBUG_TOOLBAR_CONFIG = { +# # "DISABLE_PANELS": ["debug_toolbar.panels.redirects.RedirectsPanel"], +# "SHOW_TEMPLATE_CONTEXT": True, +# } # https://django-debug-toolbar.readthedocs.io/en/latest/installation.html#internal-ips INTERNAL_IPS = ["127.0.0.1", "10.0.2.2"] if env("USE_DOCKER") == "yes": -- cgit v1.2.3