20 lines
634 B
Python
20 lines
634 B
Python
from django.urls import path
|
|
|
|
from .views import (
|
|
GuestSessionView,
|
|
LoginView,
|
|
RefreshTokenView,
|
|
RequestOTPView,
|
|
SetUserGradeView,
|
|
UserProfileView,
|
|
)
|
|
|
|
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'),
|
|
path('user/profile', UserProfileView.as_view(), name='user-profile'),
|
|
]
|