1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-10-19 12:26:41 +02:00

Display teams

This commit is contained in:
Yohann D'ANELLO
2020-04-29 17:58:11 +02:00
parent f57d7554e7
commit 3fdda5a030
6 changed files with 75 additions and 7 deletions

View File

@@ -27,6 +27,11 @@ class TournamentTable(tables.Table):
class TeamTable(tables.Table):
name = tables.LinkColumn(
"tournament:team_detail",
args=[A("pk")],
)
class Meta:
model = Team
fields = ("name", "trigram", "validation_status", )