mirror of https://gitlab.crans.org/bde/nk20
Merge branch 'order_table' into 'master'
order table of club for Pollion See merge request bde/nk20!84
This commit is contained in:
commit
a90eb2a6eb
|
@ -22,6 +22,7 @@ class ClubTable(tables.Table):
|
|||
attrs = {
|
||||
'class': 'table table-condensed table-striped table-hover'
|
||||
}
|
||||
order_by = ('id',)
|
||||
model = Club
|
||||
template_name = 'django_tables2/bootstrap4.html'
|
||||
fields = ('id', 'name', 'email')
|
||||
|
|
Loading…
Reference in New Issue