1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
2021-10-12 13:48:06 -04:00

24 lines
497 B
Python

import django_tables2 as tables
from .models import SSID
from utilities.tables import BaseTable, TagColumn, ToggleColumn
__all__ = (
'SSIDTable',
)
class SSIDTable(BaseTable):
pk = ToggleColumn()
name = tables.Column(
linkify=True
)
tags = TagColumn(
url_name='dcim:cable_list'
)
class Meta(BaseTable.Meta):
model = SSID
fields = ('pk', 'name', 'description', 'vlan')
default_columns = ('pk', 'name', 'description', 'vlan')