from django.urls import path from . import views urlpatterns = [ path("login/", views.LoginView.as_view(), name="login"), path("logout/", views.logout_view, name="logout"), path("register/", views.SignupView.as_view(), name="signup"), ]