HimoolERP/apps/sales/urls.py
2021-11-14 18:10:56 +08:00

8 lines
266 B
Python

from extensions.routers import *
from apps.sales.views import *
router = BaseRouter()
router.register('sales_orders', SalesOrderViewSet, 'sales_order')
router.register('sales_return_orders', SalesReturnOrderViewSet, 'sales_return_order')
urlpatterns = router.urls