Files
ibapp-backend/core/apps/accounts/urls.py
2025-08-06 10:15:41 +05:00

16 lines
539 B
Python

from django.urls import path, include
from core.apps.accounts.views.login import LoginApiView
from core.apps.accounts.views.user import UserProfileApiView, UserProfileUpdateApiView, UserDeleteApiView
urlpatterns = [
path('auth/login/', LoginApiView.as_view(), name='login'),
path('user/', include(
[
path('profile/', UserProfileApiView.as_view()),
path('profile/update/', UserProfileUpdateApiView.as_view()),
path('delete/<uuid:id>/', UserDeleteApiView.as_view()),
]
))
]