1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-24 00:12:23 +00:00
nk20/apps/member/urls.py

27 lines
1.5 KiB
Python
Raw Normal View History

2020-02-18 20:30:26 +00:00
# Copyright (C) 2018-2020 by BDE ENS Paris-Saclay
2019-08-11 14:22:52 +00:00
# SPDX-License-Identifier: GPL-3.0-or-later
from django.urls import path
from . import views
app_name = 'member'
urlpatterns = [
2020-02-18 20:14:29 +00:00
path('club/', views.ClubListView.as_view(), name="club_list"),
2020-04-01 16:47:56 +00:00
path('club/create/', views.ClubCreateView.as_view(), name="club_create"),
2020-02-18 20:14:29 +00:00
path('club/<int:pk>/', views.ClubDetailView.as_view(), name="club_detail"),
2020-04-05 19:56:56 +00:00
path('club/<int:club_pk>/add_member/', views.ClubAddMemberView.as_view(), name="club_add_member"),
2020-04-01 01:42:19 +00:00
path('club/manage_roles/<int:pk>/', views.ClubManageRolesView.as_view(), name="club_manage_roles"),
2020-04-05 19:56:56 +00:00
path('club/renew_membership/<int:pk>/', views.ClubAddMemberView.as_view(), name="club_renew_membership"),
2020-03-30 23:03:30 +00:00
path('club/<int:pk>/update/', views.ClubUpdateView.as_view(), name="club_update"),
path('club/<int:pk>/update_pic/', views.ClubPictureUpdateView.as_view(), name="club_update_pic"),
path('club/<int:pk>/aliases/', views.ClubAliasView.as_view(), name="club_alias"),
2020-02-18 20:14:29 +00:00
path('user/', views.UserListView.as_view(), name="user_list"),
2020-04-01 01:42:19 +00:00
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>/update_pic/', views.ProfilePictureUpdateView.as_view(), name="user_update_pic"),
path('user/<int:pk>/aliases/', views.ProfileAliasView.as_view(), name="user_alias"),
2020-02-17 20:32:08 +00:00
path('manage-auth-token/', views.ManageAuthTokens.as_view(), name='auth_token'),
2019-08-11 14:22:52 +00:00
]