Files
customerTicket/apps/accounts/urls.py
T
2026-09-11 18:04:51 +03:30

17 lines
640 B
Python

from django.urls import path
from . import views
app_name = "accounts"
urlpatterns = [
path("", views.home, name="home"),
path("login/", views.customer_login, name="login"),
path("login/password/", views.customer_password_login, name="password_login"),
path("login/otp/", views.verify_otp, name="otp"),
path("profile/", views.customer_profile, name="profile"),
path("logout/", views.logout_view, name="logout"),
path("staff/login/", views.staff_login, name="staff_login"),
path("staff/logout/", views.logout_view, name="staff_logout"),
path("t/<str:token>/", views.consume_magic_link, name="magic"),
]