InvenTree/InvenTree/users/urls.py
2019-09-07 23:41:15 +10:00

12 lines
262 B
Python

from django.conf.urls import url
from . import views
user_urls = [
url(r'^(?P<pk>[0-9]+)/?$', views.UserDetail.as_view(), name='user-detail'),
url(r'token', views.GetAuthToken.as_view(), name='api-token'),
url(r'^$', views.UserList.as_view()),
]