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()), ]