plateforme-tfjm2/apps/tournament/urls.py

25 lines
1.3 KiB
Python
Raw Normal View History

2020-04-29 14:26:52 +00:00
from django.urls import path
2020-05-04 22:11:38 +00:00
from .views import TournamentListView, TournamentCreateView, TournamentDetailView, TournamentUpdateView, \
2020-05-05 02:45:38 +00:00
TeamDetailView, TeamUpdateView, AddOrganizerView, SolutionsView, SolutionsOrgaListView, SynthesesView, \
2020-05-05 15:12:24 +00:00
SynthesesOrgaListView, PoolListView, PoolCreateView, PoolDetailView
2020-04-29 14:26:52 +00:00
app_name = "tournament"
urlpatterns = [
path('list/', TournamentListView.as_view(), name="list"),
2020-05-04 18:21:53 +00:00
path("add/", TournamentCreateView.as_view(), name="add"),
2020-04-29 14:59:59 +00:00
path('<int:pk>/', TournamentDetailView.as_view(), name="detail"),
2020-05-04 18:21:53 +00:00
path('<int:pk>/update/', TournamentUpdateView.as_view(), name="update"),
2020-04-29 15:58:11 +00:00
path('team/<int:pk>/', TeamDetailView.as_view(), name="team_detail"),
2020-05-04 18:21:53 +00:00
path('team/<int:pk>/update/', TeamUpdateView.as_view(), name="team_update"),
path("add-organizer/", AddOrganizerView.as_view(), name="add_organizer"),
2020-04-30 18:11:03 +00:00
path("solutions/", SolutionsView.as_view(), name="solutions"),
path("all-solutions/", SolutionsOrgaListView.as_view(), name="all_solutions"),
2020-05-04 22:11:38 +00:00
path("syntheses/", SynthesesView.as_view(), name="syntheses"),
path("all_syntheses/", SynthesesOrgaListView.as_view(), name="all_syntheses"),
2020-05-05 02:45:38 +00:00
path("pools/", PoolListView.as_view(), name="pools"),
2020-05-05 03:57:57 +00:00
path("pool/add/", PoolCreateView.as_view(), name="create_pool"),
2020-05-05 02:45:38 +00:00
path("pool/<int:pk>/", PoolDetailView.as_view(), name="pool_detail"),
2020-04-29 14:26:52 +00:00
]