feat: ✨ readonly viewset
This commit is contained in:
parent
69fba80de4
commit
a73553ab81
8 changed files with 69 additions and 27 deletions
10
user/urls.py
Normal file
10
user/urls.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
from django.urls import path, include
|
||||
from rest_framework.routers import DefaultRouter
|
||||
from user import views as user_views
|
||||
|
||||
router = DefaultRouter()
|
||||
router.register(r'users', user_views.UserViewSet)
|
||||
|
||||
urlpatterns = [
|
||||
path('', include(router.urls)),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue