feat: added lots of tests
This commit is contained in:
@@ -11,13 +11,16 @@ from shop.api.v1.viewsets import (
|
||||
)
|
||||
|
||||
|
||||
app_name = "shop"
|
||||
|
||||
|
||||
router = DefaultRouter()
|
||||
|
||||
router.register("taxes", TaxViewSet)
|
||||
router.register("customers", CustomerViewSet)
|
||||
router.register("providers", ProviderViewSet)
|
||||
router.register("products", ProductViewSet)
|
||||
router.register("product-prices", ProductPriceViewSet)
|
||||
router.register("products/(?P<product_id>[^/.]+)/prices", ProductPriceViewSet)
|
||||
router.register("product-batches", ProductBatchViewSet)
|
||||
router.register("orders", OrderViewSet)
|
||||
router.register("orders/(?P<order_id>[^/.]+)/lines", OrderLineViewSet)
|
||||
|
||||
Reference in New Issue
Block a user