Skip to content

Commit

Permalink
Remove debug_toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysRaboshchuk committed Oct 10, 2023
1 parent 0fc6516 commit 3f3fa35
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions taxi_service/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,11 @@
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",
"debug_toolbar",
"taxi",
]

MIDDLEWARE = [
"django.middleware.security.SecurityMiddleware",
"debug_toolbar.middleware.DebugToolbarMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
"django.middleware.common.CommonMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
Expand Down
2 changes: 1 addition & 1 deletion taxi_service/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
from django.conf.urls.static import static



urlpatterns = [
path("admin/", admin.site.urls),
path("", include("taxi.urls", namespace="taxi")),
path("accounts/", include("django.contrib.auth.urls")),
path("__debug__/", include("debug_toolbar.urls")),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)

0 comments on commit 3f3fa35

Please sign in to comment.