feat(clients): add clients app basic structure and endpoints
This commit is contained in:
12
apps/clients/api/urls.py
Normal file
12
apps/clients/api/urls.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from django.urls import path, include
|
||||
from rest_framework.routers import DefaultRouter
|
||||
|
||||
from apps.clients.api.views import ClientViewSet
|
||||
|
||||
|
||||
router = DefaultRouter()
|
||||
router.register(r"clients", ClientViewSet, basename="client")
|
||||
|
||||
urlpatterns = [
|
||||
path("", include(router.urls)),
|
||||
]
|
||||
Reference in New Issue
Block a user