diff --git a/db.sqlite3 b/db.sqlite3 index 796d4747..103bd6f9 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ diff --git a/taxi/views.py b/taxi/views.py index 1dd4db29..45e94d76 100644 --- a/taxi/views.py +++ b/taxi/views.py @@ -1,5 +1,8 @@ +from http.client import HTTPResponse + from django.contrib.auth.decorators import login_required from django.contrib.auth.mixins import LoginRequiredMixin +from django.http import HttpRequest from django.shortcuts import render from django.views import generic diff --git a/taxi_service/urls.py b/taxi_service/urls.py index 9775bc6e..170e8eac 100644 --- a/taxi_service/urls.py +++ b/taxi_service/urls.py @@ -23,6 +23,7 @@ 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