<filename>user/api/urls.py
from django.urls import path, include
from rest_framework import routers
from user.api import views
from rest_framework.routers import DefaultRouter

router = DefaultRouter()
router.register('crud', views.UserViewSet, basename='user')

urlpatterns = [
    path('', include(router.urls))
]
