from rest_framework.routers import DefaultRouter
from .views import *
router = DefaultRouter()
router.register('products', ProductsViewSet, 'products')
router.register('product-reviews', ProductReviewsViewSet, 'product-reviews')
router.register('orders', OrdersViewSet, 'orders')
router.register('product-collections', ProductCollectionsViewSet,
    'product-collections')
urlpatterns = [] + router.urls

3664e09606fd6bb926219e16f70f637fb0e1e184
<mask token>

<mask token>
router.register('products', ProductsViewSet, 'products')
router.register('product-reviews', ProductReviewsViewSet, 'product-reviews')
router.register('orders', OrdersViewSet, 'orders')
router.register('product-collections', ProductCollectionsViewSet,
    'product-collections')
<mask token>

<mask token>
router = DefaultRouter()
router.register('products', ProductsViewSet, 'products')
router.register('product-reviews', ProductReviewsViewSet, 'product-reviews')
router.register('orders', OrdersViewSet, 'orders')
router.register('product-collections', ProductCollectionsViewSet,
    'product-collections')
urlpatterns = [] + router.urls

from rest_framework.routers import DefaultRouter
from .views import *
router = DefaultRouter()
router.register('products', ProductsViewSet, 'products')
router.register('product-reviews', ProductReviewsViewSet, 'product-reviews')
router.register('orders', OrdersViewSet, 'orders')
router.register('product-collections', ProductCollectionsViewSet,
    'product-collections')
urlpatterns = [] + router.urls
