Files
MathApp/accounts/urls.py
2026-08-11 16:43:12 +03:30

18 lines
539 B
Python

from django.urls import path
from .views import (
GuestSessionView,
LoginView,
RefreshTokenView,
RequestOTPView,
SetUserGradeView,
)
urlpatterns = [
path('auth/session', GuestSessionView.as_view(), name='auth-session'),
path('auth/otp/request', RequestOTPView.as_view(), name='auth-otp-request'),
path('auth/login', LoginView.as_view(), name='auth-login'),
path('auth/refresh', RefreshTokenView.as_view(), name='auth-refresh'),
path('user/grade', SetUserGradeView.as_view(), name='user-grade'),
]