1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-30 19:42:22 +00:00
plateforme-tfjm2/apps/member/urls.py

20 lines
968 B
Python
Raw Normal View History

2020-04-29 13:29:01 +00:00
from django.urls import path
2020-05-04 22:56:34 +00:00
from .views import CreateUserView, MyAccountView, UserDetailView, AddTeamView, JoinTeamView, MyTeamView,\
2020-05-04 19:02:57 +00:00
ProfileListView, OrphanedProfileListView, OrganizersListView, ResetAdminView
2020-04-29 13:29:01 +00:00
app_name = "member"
urlpatterns = [
path('signup/', CreateUserView.as_view(), name="signup"),
2020-05-04 18:21:53 +00:00
path("my-account/", MyAccountView.as_view(), name="my_account"),
path("information/<int:pk>/", UserDetailView.as_view(), name="information"),
2020-05-04 22:56:34 +00:00
path("add-team/", AddTeamView.as_view(), name="add_team"),
path("join-team/", JoinTeamView.as_view(), name="join_team"),
2020-05-04 20:27:45 +00:00
path("my-team/", MyTeamView.as_view(), name="my_team"),
2020-04-30 19:07:12 +00:00
path("profiles/", ProfileListView.as_view(), name="all_profiles"),
path("orphaned-profiles/", OrphanedProfileListView.as_view(), name="orphaned_profiles"),
path("organizers/", OrganizersListView.as_view(), name="organizers"),
2020-05-04 19:02:57 +00:00
path("reset-admin/", ResetAdminView.as_view(), name="reset_admin"),
2020-04-29 13:29:01 +00:00
]