Fix index page
This commit is contained in:
parent
1ab06af5c7
commit
0b3701f01f
|
@ -27,7 +27,7 @@ router.register(r'users', users.views.UserViewSet)
|
||||||
router.register(r'groups', users.views.GroupViewSet)
|
router.register(r'groups', users.views.GroupViewSet)
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('', media.views.IndexView, name='index'),
|
path('', media.views.IndexView.as_view(), name='index'),
|
||||||
|
|
||||||
# Include project routers
|
# Include project routers
|
||||||
path('users/', include('users.urls')),
|
path('users/', include('users.urls')),
|
||||||
|
|
Loading…
Reference in New Issue