plateforme-tfjm2/apps/member/urls.py

19 lines
940 B
Python
Raw Normal View History

2020-04-29 13:29:01 +00:00
from django.urls import path
2020-04-29 23:43:12 +00:00
from django.views.generic import RedirectView
2020-04-29 13:29:01 +00:00
2020-04-29 23:20:50 +00:00
from .views import CreateUserView, DocumentView
2020-04-29 13:29:01 +00:00
app_name = "member"
urlpatterns = [
path('signup/', CreateUserView.as_view(), name="signup"),
2020-04-29 23:43:12 +00:00
path("my-account/", RedirectView.as_view(pattern_name="index"), name="my_account"),
path("add-team/", RedirectView.as_view(pattern_name="index"), name="add_team"),
path("join-team/", RedirectView.as_view(pattern_name="index"), name="join_team"),
path("my-team/", RedirectView.as_view(pattern_name="index"), name="my_team"),
path("my-team/update/", RedirectView.as_view(pattern_name="index"), name="update_my_team"),
path("profiles/", RedirectView.as_view(pattern_name="index"), name="all_profiles"),
path("orphaned-profiles/", RedirectView.as_view(pattern_name="index"), name="orphaned_profiles"),
path("organizers/", RedirectView.as_view(pattern_name="index"), name="organizers"),
2020-04-29 13:29:01 +00:00
]