HimoolERP/apps/purchase/urls.py

9 lines
287 B
Python
Raw Normal View History

2021-11-04 23:49:56 +08:00
from extensions.routers import *
2021-11-12 22:07:49 +08:00
from apps.purchase.views import *
2021-11-04 23:49:56 +08:00
router = BaseRouter()
2021-11-12 22:07:49 +08:00
router.register('purchase_orders', PurchaseOrderViewSet, 'purchase_order')
2021-11-14 15:37:54 +08:00
router.register('purchase_return_orders', PurchaseReturnOrderViewSet, 'purchase_return_order')
2021-11-04 23:49:56 +08:00
urlpatterns = router.urls