non dynamic search for button
This commit is contained in:
parent
1ce7dc0118
commit
7cd8a37aec
4 changed files with 38 additions and 5 deletions
|
|
@ -82,6 +82,11 @@ class ButtonTable(tables.Table):
|
|||
'class':
|
||||
'table table condensed table-striped table-hover'
|
||||
}
|
||||
row_attrs = {
|
||||
'class': 'table-row',
|
||||
'data-href': lambda record: record.pk
|
||||
}
|
||||
|
||||
model = TransactionTemplate
|
||||
|
||||
def render_amount(self, value):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue