HimoolERP/apps/sales/urls.py

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