1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-02-06 18:53:03 +00:00

12 lines
356 B
Python
Raw Normal View History

2020-04-29 16:26:52 +02:00
from django.urls import path
2020-04-29 17:58:11 +02:00
from .views import TournamentListView, TournamentDetailView, TeamDetailView
2020-04-29 16:26:52 +02:00
app_name = "tournament"
urlpatterns = [
path('list/', TournamentListView.as_view(), name="list"),
2020-04-29 16:59:59 +02:00
path('<int:pk>/', TournamentDetailView.as_view(), name="detail"),
2020-04-29 17:58:11 +02:00
path('team/<int:pk>/', TeamDetailView.as_view(), name="team_detail"),
2020-04-29 16:26:52 +02:00
]