1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 18:08:21 +02:00

Manage auth token

This commit is contained in:
Yohann D'ANELLO
2020-02-17 21:32:08 +01:00
parent 559445c8b4
commit b7383b35f7
5 changed files with 41 additions and 33 deletions

View File

@ -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"),