1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-02-06 17:33:00 +00:00

15 lines
539 B
Python
Raw Normal View History

2020-09-22 20:41:42 +02:00
from django.urls import path
2020-09-24 11:15:54 +02:00
from .views import CreateTeamView, JoinTeamView, MyTeamDetailView, TeamDetailView, TeamUpdateView
2020-09-22 20:41:42 +02:00
app_name = "participation"
urlpatterns = [
path("create_team/", CreateTeamView.as_view(), name="create_team"),
path("join_team/", JoinTeamView.as_view(), name="join_team"),
2020-09-24 10:21:50 +02:00
path("team/", MyTeamDetailView.as_view(), name="my_team_detail"),
path("team/<int:pk>/", TeamDetailView.as_view(), name="team_detail"),
2020-09-24 11:15:54 +02:00
path("team/<int:pk>/update/", TeamUpdateView.as_view(), name="update_team"),
2020-09-22 20:41:42 +02:00
]