diff --git a/accounts/urls.py b/accounts/urls.py deleted file mode 100644 index 1a1f05df..00000000 --- a/accounts/urls.py +++ /dev/null @@ -1,8 +0,0 @@ -from django.urls import path -from accounts.views import login_view, logout_view - - -urlpatterns = [ - path("login/", login_view, name="login"), - path("logout/", logout_view, name="logout") -] diff --git a/taxi_service/urls.py b/taxi_service/urls.py index 531b9ed8..5d781485 100644 --- a/taxi_service/urls.py +++ b/taxi_service/urls.py @@ -22,5 +22,5 @@ urlpatterns = [ path("admin/", admin.site.urls), path("", include("taxi.urls", namespace="taxi")), - path("", include("django.contrib.auth.urls")) + path("accounts/", include("django.contrib.auth.urls")) ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)