<gh_stars>1-10
from django.conf.urls import url


from api.users.views import UserViewSet

app_name = 'users'

user_list = UserViewSet.as_view({
    'get': 'list',
})

urlpatterns = [
    url(r'^$', user_list, name='user_list'),
]

from django.conf.urls import url


from api.users.views import UserViewSet

app_name = 'users'

user_list = UserViewSet.as_view({
    'get': 'list',
})

urlpatterns = [
    url(r'^$', user_list, name='user_list'),
]