1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-04 08:12:17 +02:00

Pool endpoint

This commit is contained in:
Yohann D'ANELLO
2020-05-05 05:57:57 +02:00
parent 14cde3ac91
commit ac9591c320
3 changed files with 44 additions and 5 deletions

View File

@ -2,7 +2,7 @@ from django.urls import path
from .views import TournamentListView, TournamentCreateView, TournamentDetailView, TournamentUpdateView, \
TeamDetailView, TeamUpdateView, AddOrganizerView, SolutionsView, SolutionsOrgaListView, SynthesesView, \
SynthesesOrgaListView, PoolListView, PoolCreateView, PoolDetailView
SynthesesOrgaListView, PoolListView, PoolCreateView, PoolDetailView, PoolEndpoint
app_name = "tournament"
@ -19,6 +19,7 @@ urlpatterns = [
path("syntheses/", SynthesesView.as_view(), name="syntheses"),
path("all_syntheses/", SynthesesOrgaListView.as_view(), name="all_syntheses"),
path("pools/", PoolListView.as_view(), name="pools"),
path("pools/add/", PoolCreateView.as_view(), name="create_pool"),
path("pool/add/", PoolCreateView.as_view(), name="create_pool"),
path("pool/add/endpoint/", PoolEndpoint.as_view(), name="create_pool_endpoint"),
path("pool/<int:pk>/", PoolDetailView.as_view(), name="pool_detail"),
]