HimoolERP/apps/sales/urls.py

9 lines
266 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-11-04 23:49:56 +08:00
urlpatterns = router.urls