1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-03 17:22:51 +02:00

Order tables

This commit is contained in:
Yohann D'ANELLO
2020-05-05 16:04:53 +02:00
parent bfba07b7a2
commit 333b04a01b
4 changed files with 7 additions and 2 deletions

View File

@ -26,6 +26,7 @@ class TournamentTable(tables.Table):
attrs = {
'class': 'table table-condensed table-striped table-hover'
}
order_by = ('date_start', 'name',)
class TeamTable(tables.Table):
@ -40,6 +41,7 @@ class TeamTable(tables.Table):
attrs = {
'class': 'table table-condensed table-striped table-hover'
}
order_by = ('-validation_status', 'trigram',)
class SolutionTable(tables.Table):