DocManagerBackend/docmanager_backend/accounts/urls.py

10 lines
335 B
Python
Raw Normal View History

2024-11-23 21:55:32 +08:00
from django.urls import include, path
from .views import CustomUserDeleteView, CustomUserUpdateView
2024-11-23 21:55:32 +08:00
urlpatterns = [
path("", include("djoser.urls")),
path("", include("djoser.urls.jwt")),
2025-01-16 19:54:49 +08:00
path("users/delete/<int:pk>/", CustomUserDeleteView.as_view()),
path("users/update/<int:pk>/", CustomUserUpdateView.as_view()),
2024-11-23 21:55:32 +08:00
]