1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 23:04: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 6bca1dc9e6
commit f495722c6e

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)