From a91211e782263c4c7fbc11c23f26b293275cb19c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 5 Oct 2021 02:49:33 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Add=20missing=20slash=20in=20`/a?= =?UTF-8?q?pi/core/instance/`=20endpoint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/sophon/core/urls.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/backend/sophon/core/urls.py b/backend/sophon/core/urls.py index 2ac0088..06f6d30 100644 --- a/backend/sophon/core/urls.py +++ b/backend/sophon/core/urls.py @@ -1,9 +1,8 @@ -from django.urls import path, include import rest_framework.routers +from django.urls import path, include from . import views - router = rest_framework.routers.DefaultRouter() router.register("groups", views.ResearchGroupViewSet, basename="research-group") router.register("users", views.UserViewSet, basename="user") @@ -11,5 +10,5 @@ router.register("users", views.UserViewSet, basename="user") urlpatterns = [ path("", include(router.urls)), - path("instance", views.SophonInstanceDetailsView.as_view()), + path("instance/", views.SophonInstanceDetailsView.as_view()), ]