1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 14:54:22 +00:00

🐛 Add missing slash in /api/core/instance/ endpoint

This commit is contained in:
Steffo 2021-10-05 02:49:33 +02:00 committed by Stefano Pigozzi
parent 89bf6c027c
commit a91211e782

View file

@ -1,9 +1,8 @@
from django.urls import path, include
import rest_framework.routers import rest_framework.routers
from django.urls import path, include
from . import views from . import views
router = rest_framework.routers.DefaultRouter() router = rest_framework.routers.DefaultRouter()
router.register("groups", views.ResearchGroupViewSet, basename="research-group") router.register("groups", views.ResearchGroupViewSet, basename="research-group")
router.register("users", views.UserViewSet, basename="user") router.register("users", views.UserViewSet, basename="user")
@ -11,5 +10,5 @@ router.register("users", views.UserViewSet, basename="user")
urlpatterns = [ urlpatterns = [
path("", include(router.urls)), path("", include(router.urls)),
path("instance", views.SophonInstanceDetailsView.as_view()), path("instance/", views.SophonInstanceDetailsView.as_view()),
] ]