mirror of
https://github.com/himool/HimoolERP.git
synced 2024-11-15 11:58:42 +08:00
8 lines
287 B
Python
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
|