mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-07-03 18:02:50 +02:00
Display teams
This commit is contained in:
@ -1,10 +1,11 @@
|
||||
from django.urls import path
|
||||
|
||||
from .views import TournamentListView, TournamentDetailView
|
||||
from .views import TournamentListView, TournamentDetailView, TeamDetailView
|
||||
|
||||
app_name = "tournament"
|
||||
|
||||
urlpatterns = [
|
||||
path('list/', TournamentListView.as_view(), name="list"),
|
||||
path('<int:pk>/', TournamentDetailView.as_view(), name="detail"),
|
||||
path('team/<int:pk>/', TeamDetailView.as_view(), name="team_detail"),
|
||||
]
|
||||
|
Reference in New Issue
Block a user