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

Add view for aliases

This commit is contained in:
Pierre-antoine Comby
2020-02-28 13:37:31 +01:00
parent f1cedc902e
commit f77351b444
6 changed files with 121 additions and 3 deletions

View File

@ -15,6 +15,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('user/<int:pk>/aliases', views.AliasView.as_view(), name="user_alias"),
path('manage-auth-token/', views.ManageAuthTokens.as_view(), name='auth_token'),
# API for the user autocompleter