1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-23 06:36:35 +02:00

Order participations by validity status and by trigram

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2023-04-11 22:41:52 +02:00
parent 59268f2d1e
commit 0e7a275a28
5 changed files with 35 additions and 6 deletions

View File

@ -54,6 +54,7 @@ class ParticipationTable(tables.Table):
}
model = Team
fields = ('name', 'trigram', 'valid',)
order = ('-valid',)
class TournamentTable(tables.Table):