HimoolERP/apps/purchase/urls.py
2021-11-14 15:37:54 +08:00

8 lines
287 B
Python

from extensions.routers import *
from apps.purchase.views import *
router = BaseRouter()
router.register('purchase_orders', PurchaseOrderViewSet, 'purchase_order')
router.register('purchase_return_orders', PurchaseReturnOrderViewSet, 'purchase_return_order')
urlpatterns = router.urls