Multiple select
This commit is contained in:
parent
cebbe65eef
commit
c4f54d9d5b
3 changed files with 59 additions and 27 deletions
|
|
@ -18,7 +18,7 @@ class HistoryTable(tables.Table):
|
|||
}
|
||||
model = Transaction
|
||||
exclude = ("polymorphic_ctype", )
|
||||
order_by = ('-created_at', )
|
||||
order_by = ('-id', )
|
||||
template_name = 'django_tables2/bootstrap4.html'
|
||||
sequence = ('...', 'total', 'valid')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue