1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Misc cleanup

This commit is contained in:
Jeremy Stretch
2018-07-30 14:00:37 -04:00
parent f664998d9b
commit f7aa259995
7 changed files with 36 additions and 12 deletions

View File

@ -22,7 +22,9 @@ class BaseTable(tables.Table):
class ToggleColumn(tables.CheckBoxColumn):
"""
Extend CheckBoxColumn to add a "toggle all" checkbox in the column header.
"""
def __init__(self, *args, **kwargs):
default = kwargs.pop('default', '')
visible = kwargs.pop('visible', False)