Initial updates with FE
This commit is contained in:
@@ -1,10 +1,18 @@
|
||||
from django.urls import path
|
||||
from rest_framework_simplejwt.views import TokenObtainPairView, TokenRefreshView
|
||||
|
||||
from .views import MeView, VendorProfileMeView, VendorRegistrationView
|
||||
from .views import (
|
||||
CustomerRegistrationView,
|
||||
MeView,
|
||||
PasswordResetRequestView,
|
||||
VendorProfileMeView,
|
||||
VendorRegistrationView,
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
path("register/vendor/", VendorRegistrationView.as_view(), name="register_vendor"),
|
||||
path("register/customer/", CustomerRegistrationView.as_view(), name="register_customer"),
|
||||
path("password/reset/request/", PasswordResetRequestView.as_view(), name="password_reset_request"),
|
||||
path("token/", TokenObtainPairView.as_view(), name="token_obtain_pair"),
|
||||
path("token/refresh/", TokenRefreshView.as_view(), name="token_refresh"),
|
||||
path("me/", MeView.as_view(), name="me"),
|
||||
|
||||
Reference in New Issue
Block a user