urls.py 388 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 . import views
  5. app_name = 'webservice'
  6. router = routers.DefaultRouter()
  7. router.register(r'webservice', OrdersLocalMVS)
  8. urlpatterns = [
  9. path("", views.order_reg, name="order_reg"),
  10. path('api/', include(router.urls), name="webservice_running_api"),
  11. ]