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

Address some of the django_tables2 deprecation warnings

This commit is contained in:
Jeremy Stretch
2020-07-16 16:52:45 -04:00
parent 16f44305e4
commit ba50bfa939
5 changed files with 75 additions and 99 deletions

View File

@ -62,7 +62,7 @@ class CircuitTable(BaseTable):
)
provider = tables.LinkColumn(
viewname='circuits:provider',
args=[Accessor('provider.slug')]
args=[Accessor('provider__slug')]
)
status = tables.TemplateColumn(
template_code=STATUS_LABEL