urls.py 702 B

12345678910111213141516171819
  1. from metaservicesynced.apiviews import *
  2. from rest_framework import routers
  3. from django.urls import path, include
  4. router = routers.DefaultRouter()
  5. router.register(r'client', ClientMVS)
  6. router.register(r'company', CompanyMVS)
  7. router.register(r'documents', DocumentsMVS)
  8. router.register(r'orders', OrdersMVS)
  9. router.register(r'permissions', PermissionsMVS)
  10. router.register(r'provider', ProviderMVS)
  11. router.register(r'relationship', RelationshipMVS)
  12. router.register(r'resource', ResourceMVS)
  13. router.register(r'service', ServiceMVS)
  14. router.register(r'servicetype', ServiceTypeMVS)
  15. router.register(r'personinfo', PersonInfoMVS)
  16. urlpatterns = [
  17. path('api/', include(router.urls), name="metasynced"),
  18. ]