1
0

urls.py 423 B

1234567891011121314
  1. from webservice_running.apiviews import *
  2. from rest_framework import routers
  3. from django.urls import path, include, re_path
  4. from webservice_running import views
  5. app_name = 'webservice_running'
  6. router = routers.DefaultRouter()
  7. router.register(r'webservice', OrdersLocalMVS)
  8. urlpatterns = [
  9. path('order_reg/', views.order_reg, name="order_reg"),
  10. path('api/', include(router.urls), name="webservice_running_api"),
  11. ]