mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-26 18:37:12 +00:00
order table of club for Pollion
This commit is contained in:
parent
424646054f
commit
f2ac0cd8cf
@ -22,6 +22,7 @@ class ClubTable(tables.Table):
|
|||||||
attrs = {
|
attrs = {
|
||||||
'class': 'table table-condensed table-striped table-hover'
|
'class': 'table table-condensed table-striped table-hover'
|
||||||
}
|
}
|
||||||
|
order_by = ('id',)
|
||||||
model = Club
|
model = Club
|
||||||
template_name = 'django_tables2/bootstrap4.html'
|
template_name = 'django_tables2/bootstrap4.html'
|
||||||
fields = ('id', 'name', 'email')
|
fields = ('id', 'name', 'email')
|
||||||
|
Loading…
Reference in New Issue
Block a user