From c129737aa08e70a45a65a06a9f002d833ef7fcf8 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 24 Apr 2024 11:55:15 +0100 Subject: New Dockerfile using RedHat image --- ded/settings.py | 6 +++--- ded/urls.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ded') diff --git a/ded/settings.py b/ded/settings.py index 1b48377..4f22008 100644 --- a/ded/settings.py +++ b/ded/settings.py @@ -43,7 +43,7 @@ INSTALLED_APPS = [ "django.contrib.staticfiles", "crispy_forms", "django_htmx", - "debug_toolbar", + # "debug_toolbar", ] @@ -52,11 +52,11 @@ INTERNAL_IPS = ["127.0.0.1", "localhost"] # DEBUG_TOOLBAR_PANELS = ["debug_toolbar.panels.request.RequestPanel"] -SHOW_TOOLBAR_CALLBACK = "debug_toolbar.middleware.show_toolbar" +# SHOW_TOOLBAR_CALLBACK = "debug_toolbar.middleware.show_toolbar" MIDDLEWARE = [ "django.middleware.security.SecurityMiddleware", - "debug_toolbar.middleware.DebugToolbarMiddleware", + # "debug_toolbar.middleware.DebugToolbarMiddleware", "django.contrib.sessions.middleware.SessionMiddleware", "django.middleware.common.CommonMiddleware", "django.middleware.csrf.CsrfViewMiddleware", diff --git a/ded/urls.py b/ded/urls.py index 9ee8110..229fb29 100644 --- a/ded/urls.py +++ b/ded/urls.py @@ -17,7 +17,7 @@ from django.contrib import admin from django.urls import include, path urlpatterns = [ - path("__debug__", include("debug_toolbar.urls")), + # path("__debug__", include("debug_toolbar.urls")), path("accounts/", include("django.contrib.auth.urls")), path("engagements/", include("engagements.urls")), path("admin/", admin.site.urls), -- cgit v1.2.3