1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 06:44:21 +00:00

🔧 Improve URLs for ProjectViewSets

This commit is contained in:
Steffo 2021-04-15 17:46:23 +02:00 committed by Stefano Pigozzi
parent c6abc1bd0e
commit 6a72f8de4c

View file

@ -4,9 +4,9 @@ from . import views
router = DefaultRouter()
router.register("projects_external", views.ProjectExternalViewSet)
router.register("projects_contributor", views.ProjectContributorViewSet)
router.register("projects_owner", views.ProjectOwnerViewSet)
router.register("projects/as_external", views.ProjectExternalViewSet)
router.register("projects/as_contributor", views.ProjectContributorViewSet)
router.register("projects/as_owner", views.ProjectOwnerViewSet)
router.register("datasources", views.DataSourceViewSet)
router.register("dataflows", views.DataFlowViewSet)