diff --git a/sophon/core/urls.py b/sophon/core/urls.py index b054216..8508606 100644 --- a/sophon/core/urls.py +++ b/sophon/core/urls.py @@ -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)