101 / authentication /urls.py
thejagstudio's picture
Upload 54 files
085ce5c verified
raw
history blame contribute delete
701 Bytes
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'),
]