from django.contrib import admin from django.urls import path, include from . import views urlpatterns = [ path('', include('djoser.urls')), path('', include('djoser.urls.authtoken')), path('user_list/', views.UserListViewSet.as_view()) ]