mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 06:22:22 +00:00
Order tournaments by name
This commit is contained in:
parent
f36c36b96e
commit
a9f3cb7d3a
@ -74,6 +74,7 @@ class TournamentTable(tables.Table):
|
|||||||
}
|
}
|
||||||
model = Tournament
|
model = Tournament
|
||||||
fields = ('name', 'date',)
|
fields = ('name', 'date',)
|
||||||
|
order_by = ('name', )
|
||||||
template_name = 'django_tables2/bootstrap4.html'
|
template_name = 'django_tables2/bootstrap4.html'
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user