2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 20:45:44 +00:00

Tests for retrieving user auth tokens

This commit is contained in:
Oliver Walters
2019-09-07 23:41:15 +10:00
parent dfb0f67b87
commit 576226ad30
3 changed files with 51 additions and 3 deletions

View File

@ -5,7 +5,7 @@ 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()),
url(r'token', views.GetAuthToken.as_view(), name='api-token'),
url(r'^$', views.UserList.as_view()),
]