Drop the half-configured debug toolbar

This commit is contained in:
sajeyks 2026-10-06 13:48:26 +03:00
commit 1a0f4b17e1
2 changed files with 0 additions and 8 deletions

View file

@ -19,12 +19,8 @@ MIDDLEWARE = (
'utils.middleware.DevSiteSwitcherMiddleware',
) + MIDDLEWARE
MIDDLEWARE += ("debug_toolbar.middleware.DebugToolbarMiddleware",)
INSTALLED_APPS += (
'django_extensions',
# debug_toolbar seems to conflict with multisite (and djangocms_multisite)
# 'debug_toolbar'
)
# Without an LDAP server (e.g. the docker test stack) log in with plain Django

View file

@ -16,7 +16,6 @@ from membership import urls as membership_urls
from ungleich_page.views import LandingView
from django.views.generic import RedirectView
from django.urls import reverse_lazy
import debug_toolbar
urlpatterns = [
re_path(r'^index.html$', LandingView.as_view()),
@ -79,6 +78,3 @@ urlpatterns += [
'document_root': settings.MEDIA_ROOT,
}),
]
if settings.DEBUG:
urlpatterns += [re_path(r'^__debug__/', include(debug_toolbar.urls))]