From 6a72f8de4cc8fde102056af808a8fa306fb7015a Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 15 Apr 2021 17:46:23 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Improve=20URLs=20for=20ProjectVi?= =?UTF-8?q?ewSets?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sophon/core/urls.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)