Files
Rasadyar_RSI/authentication/urls.py
2026-01-18 11:29:19 +03:30

26 lines
480 B
Python

from django.urls import include, path
from rest_framework.routers import DefaultRouter
from authentication import views as auth_views
router = DefaultRouter()
router.register(
r'province',
auth_views.ProvinceViewSet,
basename="province"
)
router.register(
r'city',
auth_views.CityViewSet,
basename="city"
)
router.register(
r'profile',
auth_views.UserProfileViewSet,
basename="profile"
)
urlpatterns = [
path('', include(router.urls))
]