urls.py 280 B

12345678910
  1. from metaservicesynced.apiviews import DocumentsMVS
  2. from rest_framework import routers
  3. from django.urls import path, include
  4. router = routers.SimpleRouter()
  5. router.register(r'documents', DocumentsMVS)
  6. urlpatterns = [
  7. path('api/', include(router.urls), name="documents"),
  8. ]