urls.py 647 B

12345678910111213141516171819
  1. from dbsynce.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. urlpatterns = [
  16. path('api/', include(router.urls), name="metasynced"),
  17. ]