2019-08-11 14:22:52 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
# -*- mode: python; coding: utf-8 -*-
|
|
|
|
# Copyright (C) 2018-2019 by BDE ENS Paris-Saclay
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
|
|
from django.urls import path
|
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
app_name = 'member'
|
|
|
|
urlpatterns = [
|
2019-08-11 22:30:29 +00:00
|
|
|
path('signup/',views.UserCreateView.as_view(),name="signup"),
|
2019-08-11 21:25:27 +00:00
|
|
|
path('club/',views.ClubListView.as_view(),name="club_list"),
|
|
|
|
path('club/<int:pk>/',views.ClubDetailView.as_view(),name="club_detail"),
|
2019-08-14 16:47:46 +00:00
|
|
|
path('club/<int:pk>/add_member/',views.ClubAddMemberView.as_view(),name="club_add_member"),
|
2019-08-11 22:30:29 +00:00
|
|
|
path('club/create/',views.ClubCreateView.as_view(),name="club_create"),
|
2019-09-23 10:50:14 +00:00
|
|
|
path('user/',views.UserListView.as_view(),name="user_list"),
|
2020-02-03 18:25:05 +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"),
|
2020-02-08 19:39:37 +00:00
|
|
|
path('user/user-autocomplete',views.UserAutocomplete.as_view(),name="user_autocomplete"),
|
2019-08-11 14:22:52 +00:00
|
|
|
]
|