Overflow on collapsing tables and Bootstrap4 style
This commit is contained in:
parent
8d87b2b8f5
commit
b395d3a633
3 changed files with 22 additions and 29 deletions
|
|
@ -11,10 +11,10 @@ class HistoryTable(tables.Table):
|
|||
class Meta:
|
||||
attrs = {
|
||||
'class':
|
||||
'table table-bordered table-condensed table-striped table-hover'
|
||||
'table table-condensed table-striped table-hover'
|
||||
}
|
||||
model = Transaction
|
||||
template_name = 'django_tables2/bootstrap.html'
|
||||
template_name = 'django_tables2/bootstrap4.html'
|
||||
sequence = ('...', 'total', 'valid')
|
||||
|
||||
total = tables.Column() # will use Transaction.total() !!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue