# urls.py from django.urls import path,re_path from . import views urlpatterns = [ path('createInboundApply', views.InboundApplyCreate.as_view()), path('createOutboundApply', views.OutboundApplyCreate.as_view()), path('updateBatchInfo', views.BatchUpdate.as_view()), path('productInfo', views.ProductInfo.as_view()), path('inboundBills', views.InboundBills.as_view({"get": "list"}),name="inboundBills"), re_path(r'^inboundBills/(?P\d+)/$', views.InboundBills.as_view({ 'get': 'retrieve' }), name="inboundBills_1"), path('materials', views.Materials.as_view({"get": "list"}),name="Materials"), re_path(r'^materials/(?P\d+)/$', views.Materials.as_view({ 'get': 'retrieve', }), name="Materials_1"), ]