1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-23 07:14:21 +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 4531dc5e09
commit 3914c8861d

View file

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