Manage auth token
This commit is contained in:
parent
559445c8b4
commit
b7383b35f7
5 changed files with 41 additions and 33 deletions
|
|
@ -18,7 +18,7 @@ urlpatterns = [
|
|||
path('user/',views.UserListView.as_view(),name="user_list"),
|
||||
path('user/<int:pk>',views.UserDetailView.as_view(),name="user_detail"),
|
||||
path('user/<int:pk>/update',views.UserUpdateView.as_view(),name="user_update_profile"),
|
||||
path('generate-auth-token/', views.GenerateAuthTokenView.as_view(), name='generate_auth_token'),
|
||||
path('manage-auth-token/', views.ManageAuthTokens.as_view(), name='auth_token'),
|
||||
|
||||
# API for the user autocompleter
|
||||
path('user/user-autocomplete',views.UserAutocomplete.as_view(),name="user_autocomplete"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue