Files
booking_backend/accounts/urls.py
2026-04-10 20:51:43 -05:00

13 lines
579 B
Python

from django.urls import path
from rest_framework_simplejwt.views import TokenObtainPairView, TokenRefreshView
from .views import MeView, VendorProfileMeView, VendorRegistrationView
urlpatterns = [
path("register/vendor/", VendorRegistrationView.as_view(), name="register_vendor"),
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"),
path("vendor-profile/me/", VendorProfileMeView.as_view(), name="vendor_profile_me"),
]