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:
parent
6bca1dc9e6
commit
f495722c6e
1 changed files with 3 additions and 3 deletions
|
@ -4,9 +4,9 @@ from . import views
|
||||||
|
|
||||||
|
|
||||||
router = DefaultRouter()
|
router = DefaultRouter()
|
||||||
router.register("projects_external", views.ProjectExternalViewSet)
|
router.register("projects/as_external", views.ProjectExternalViewSet)
|
||||||
router.register("projects_contributor", views.ProjectContributorViewSet)
|
router.register("projects/as_contributor", views.ProjectContributorViewSet)
|
||||||
router.register("projects_owner", views.ProjectOwnerViewSet)
|
router.register("projects/as_owner", views.ProjectOwnerViewSet)
|
||||||
router.register("datasources", views.DataSourceViewSet)
|
router.register("datasources", views.DataSourceViewSet)
|
||||||
router.register("dataflows", views.DataFlowViewSet)
|
router.register("dataflows", views.DataFlowViewSet)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue