Deletion of alias now possible!
This commit is contained in:
parent
27391049f2
commit
35d5bcdf0f
3 changed files with 19 additions and 10 deletions
|
|
@ -36,4 +36,4 @@ class AliasTable(tables.Table):
|
|||
template_name = 'django_tables2/bootstrap4.html'
|
||||
|
||||
delete = tables.LinkColumn('member:user_alias_delete', args=[A('pk')], attrs={
|
||||
'a': {'class': 'btn btn-danger'} },text='delete')
|
||||
'a': {'class': 'btn btn-danger'} },text='delete',accessor='pk')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue