1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2024-12-25 06:22:23 +00:00

Fix index page

This commit is contained in:
Yohann D'ANELLO 2021-10-23 19:20:20 +02:00
parent 1ab06af5c7
commit 0b3701f01f
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -27,7 +27,7 @@ router.register(r'users', users.views.UserViewSet)
router.register(r'groups', users.views.GroupViewSet)
urlpatterns = [
path('', media.views.IndexView, name='index'),
path('', media.views.IndexView.as_view(), name='index'),
# Include project routers
path('users/', include('users.urls')),