from django.urls import include, path from .views import CustomUserDeleteView, CustomUserUpdateView urlpatterns = [ path("", include("djoser.urls")), path("", include("djoser.urls.jwt")), path("users/delete//", CustomUserDeleteView.as_view()), path("users/update//", CustomUserUpdateView.as_view()), ]