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

Added description to Tenant model

This commit is contained in:
Jeremy Stretch
2016-07-26 17:44:32 -04:00
parent faa12abc70
commit 27c21237ff
5 changed files with 41 additions and 4 deletions

View File

@@ -37,7 +37,8 @@ class TenantTable(BaseTable):
pk = ToggleColumn()
name = tables.LinkColumn('tenancy:tenant', args=[Accessor('slug')], verbose_name='Name')
group = tables.Column(verbose_name='Group')
description = tables.Column(verbose_name='Description')
class Meta(BaseTable.Meta):
model = Tenant
fields = ('pk', 'name', 'group')
fields = ('pk', 'name', 'group', 'description')