urls.py 478 B

123456789101112131415
  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('', views.registration, name="registration"),
  11. path('api/', include(router.urls), name="webservice_running_api"),
  12. ]