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
1 changed files with 1 additions and 1 deletions

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')),