summaryrefslogtreecommitdiffstats
path: root/ded
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-04-24 11:55:15 +0100
committerMatthew Lemon <y@yulqen.org>2024-04-24 11:55:15 +0100
commitc129737aa08e70a45a65a06a9f002d833ef7fcf8 (patch)
treeecfd7666fba3b2587c8e0362b8c1ed34cfa71fd1 /ded
parent0a08c15f92e78e5b629dfc0d36b3111fed2966b5 (diff)
New Dockerfile using RedHat image
Diffstat (limited to 'ded')
-rw-r--r--ded/settings.py6
-rw-r--r--ded/urls.py2
2 files changed, 4 insertions, 4 deletions
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),