1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-25 05:42:23 +00:00

Order tournaments by name

This commit is contained in:
Yohann D'ANELLO 2021-01-22 22:33:48 +01:00
parent f36c36b96e
commit a9f3cb7d3a
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -74,6 +74,7 @@ class TournamentTable(tables.Table):
}
model = Tournament
fields = ('name', 'date',)
order_by = ('name', )
template_name = 'django_tables2/bootstrap4.html'