10655 review changes

This commit is contained in:
Arthur 2022-10-18 13:37:19 -07:00
parent cf5c6da6c6
commit a01eb61152
7 changed files with 8 additions and 8 deletions

View File

@ -11,7 +11,7 @@ __all__ = (
) )
class ProviderTable(NetBoxTable, ContactsColumnMixin): class ProviderTable(ContactsColumnMixin, NetBoxTable):
name = tables.Column( name = tables.Column(
linkify=True linkify=True
) )

View File

@ -39,7 +39,7 @@ __all__ = (
# Manufacturers # Manufacturers
# #
class ManufacturerTable(NetBoxTable, ContactsColumnMixin): class ManufacturerTable(ContactsColumnMixin, NetBoxTable):
name = tables.Column( name = tables.Column(
linkify=True linkify=True
) )

View File

@ -16,7 +16,7 @@ __all__ = (
# Power panels # Power panels
# #
class PowerPanelTable(NetBoxTable, ContactsColumnMixin): class PowerPanelTable(ContactsColumnMixin, NetBoxTable):
name = tables.Column( name = tables.Column(
linkify=True linkify=True
) )

View File

@ -18,7 +18,7 @@ __all__ = (
# Regions # Regions
# #
class RegionTable(NetBoxTable, ContactsColumnMixin): class RegionTable(ContactsColumnMixin, NetBoxTable):
name = columns.MPTTColumn( name = columns.MPTTColumn(
linkify=True linkify=True
) )
@ -44,7 +44,7 @@ class RegionTable(NetBoxTable, ContactsColumnMixin):
# Site groups # Site groups
# #
class SiteGroupTable(NetBoxTable, ContactsColumnMixin): class SiteGroupTable(ContactsColumnMixin, NetBoxTable):
name = columns.MPTTColumn( name = columns.MPTTColumn(
linkify=True linkify=True
) )

View File

@ -3,10 +3,10 @@ import django_tables2 as tables
from netbox.tables import columns from netbox.tables import columns
__all__ = ( __all__ = (
'ContactsColumnMixin',
'TenantColumn', 'TenantColumn',
'TenantGroupColumn', 'TenantGroupColumn',
'TenancyColumnsMixin', 'TenancyColumnsMixin',
'ContactsColumnMixin',
) )

View File

@ -31,7 +31,7 @@ class TenantGroupTable(NetBoxTable):
default_columns = ('pk', 'name', 'tenant_count', 'description') default_columns = ('pk', 'name', 'tenant_count', 'description')
class TenantTable(NetBoxTable, ContactsColumnMixin): class TenantTable(ContactsColumnMixin, NetBoxTable):
name = tables.Column( name = tables.Column(
linkify=True linkify=True
) )

View File

@ -32,7 +32,7 @@ class ClusterTypeTable(NetBoxTable):
default_columns = ('pk', 'name', 'cluster_count', 'description') default_columns = ('pk', 'name', 'cluster_count', 'description')
class ClusterGroupTable(NetBoxTable, ContactsColumnMixin): class ClusterGroupTable(ContactsColumnMixin, NetBoxTable):
name = tables.Column( name = tables.Column(
linkify=True linkify=True
) )