Skip to content

Commit 7ad27a2

Browse files
committed
#492: Extend extras tables
1 parent e3cfc9a commit 7ad27a2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

netbox/extras/tables.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,11 @@ class ConfigContextTable(BaseTable):
104104

105105
class Meta(BaseTable.Meta):
106106
model = ConfigContext
107-
fields = ('pk', 'name', 'weight', 'is_active', 'description')
107+
fields = (
108+
'pk', 'name', 'weight', 'is_active', 'description', 'regions', 'sites', 'roles', 'platforms',
109+
'cluster_groups', 'clusters', 'tenant_groups', 'tenants',
110+
)
111+
default_columns = ('pk', 'name', 'weight', 'is_active', 'description')
108112

109113

110114
class ObjectChangeTable(BaseTable):

0 commit comments

Comments
 (0)