Spaces:
Runtime error
Runtime error
File size: 701 Bytes
7c53168 5868895 7c53168 5868895 7c53168 085ce5c 7c53168 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
from django.urls import path
from .views import *
urlpatterns = [
path('register/', RegisterView.as_view(), name='register'),
path('login/', LoginView.as_view(), name='login'),
path('logout/', LogoutView.as_view(), name='logout'),
path('refresh-Token/', refreshTokenView.as_view(), name='refresh_Token'),
path('password-reset/request/', RequestPasswordResetView.as_view(), name='password_reset_request'),
path('password-reset/resend/', ResendOTPView.as_view(), name='password_reset_resend'),
path('password-reset/confirm/', ResetPasswordView.as_view(), name='password_reset_confirm'),
path('user-detail/', UserDetailView.as_view(), name='user_detail'),
]
|