Initial updates with FE

This commit is contained in:
2026-04-10 21:41:26 -05:00
parent 562a8525d0
commit bb8af62f2d
9 changed files with 119 additions and 11 deletions

View File

@@ -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"),