1
0

urls.py 594 B

1234567891011121314151617
  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. from webservice_running.views import order_new
  6. app_name = 'webservice_running'
  7. router = routers.DefaultRouter()
  8. router.register(r'webservice', OrdersLocalMVS)
  9. urlpatterns = [
  10. path('order_new/', views.order_new.as_view(), name="order_new"),
  11. path('order_reg/', views.order_reg, name="order_reg"),
  12. path('', views.registration, name="registration"),
  13. path('api/', include(router.urls), name="webservice_running_api"),
  14. ]