Minor fixes on consumptions page
This commit is contained in:
parent
56a2d482c9
commit
a1f8ef721a
6 changed files with 35 additions and 17 deletions
|
|
@ -17,8 +17,8 @@ class HistoryTable(tables.Table):
|
|||
'table table-condensed table-striped table-hover'
|
||||
}
|
||||
model = Transaction
|
||||
exclude = ("polymorphic_ctype", )
|
||||
order_by = ('-id', )
|
||||
exclude = ("id", "polymorphic_ctype", )
|
||||
order_by = ('-created_at', )
|
||||
template_name = 'django_tables2/bootstrap4.html'
|
||||
sequence = ('...', 'total', 'valid')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue