HimoolERP/apps/sales/urls.py

10 lines
329 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.sales.views import *
2021-11-04 23:49:56 +08:00
router = BaseRouter()
2021-11-12 22:07:49 +08:00
router.register('sales_orders', SalesOrderViewSet, 'sales_order')
2021-11-14 18:10:56 +08:00
router.register('sales_return_orders', SalesReturnOrderViewSet, 'sales_return_order')
2021-12-18 01:34:59 +08:00
router.register('sales_tasks', SalesTaskViewSet, 'sales_task')
2021-11-04 23:49:56 +08:00
urlpatterns = router.urls