some parts of product - fix custom pagination - add id to pages list
This commit is contained in:
11
apps/product/web/api/v1/urls.py
Normal file
11
apps/product/web/api/v1/urls.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from apps.product.web.api.v1 import api as api_views
|
||||
from rest_framework.routers import DefaultRouter
|
||||
from django.urls import path, include
|
||||
|
||||
router = DefaultRouter()
|
||||
router.register(r'product', api_views.ProductViewSet, basename='product')
|
||||
router.register(r'reference', api_views.ReferenceProductViewSet, basename='reference')
|
||||
|
||||
urlpatterns = [
|
||||
path('v1/', include(router.urls))
|
||||
]
|
||||
Reference in New Issue
Block a user