diff options
author | Matthew Lemon <y@yulqen.org> | 2024-05-27 21:11:31 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-05-27 21:11:31 +0100 |
commit | 681a4c5cce971532d6a3c3c85ae2d7add8f6bd47 (patch) | |
tree | f10e4a830beac4e72607ff365f2231a1533f58e6 /config/settings/local.py | |
parent | 45ac36b9165dee4a9a2b3bc39c7e34615e6abef7 (diff) |
Trying to remove django_toolbar - also removes whitenose settings
Diffstat (limited to '')
-rw-r--r-- | config/settings/local.py | 15 |
1 files changed, 7 insertions, 8 deletions
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": |