diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/urls.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config/urls.py b/config/urls.py index 270a8ad..29c74a3 100644 --- a/config/urls.py +++ b/config/urls.py @@ -1,4 +1,5 @@ # ruff: noqa + from django.conf import settings from django.conf.urls.static import static from django.contrib import admin @@ -7,6 +8,11 @@ from django.urls import path from django.views import defaults as default_views from django.views.generic import TemplateView +import debug_toolbar + + +admin.site.site_header = "Blackbird Admin Panel" + urlpatterns = [ path("", TemplateView.as_view(template_name="pages/home.html"), name="home"), path( @@ -48,6 +54,5 @@ if settings.DEBUG: path("500/", default_views.server_error), ] if "debug_toolbar" in settings.INSTALLED_APPS: - import debug_toolbar urlpatterns = [path("__debug__/", include(debug_toolbar.urls))] + urlpatterns |