1
0

urls.py 864 B

12345678910111213141516171819202122
  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. router.register(r'personinfo', PersonInfoMVS)
  16. router.register(r'frequentaddress', FrequentaddressMVS)
  17. router.register(r'favoritecontacts', FavoritecontactsMVS)
  18. router.register(r'preferreddrivers', PreferreddriversMVS)
  19. urlpatterns = [
  20. path('api/', include(router.urls), name="metasynced"),
  21. ]