mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-24 17:38:37 -06:00
#14731: Misc cleanup
This commit is contained in:
parent
a63bb6dba6
commit
845888c24e
@ -155,7 +155,6 @@ def get_catalog_plugins():
|
|||||||
|
|
||||||
# Populate author (if any)
|
# Populate author (if any)
|
||||||
if data['author']:
|
if data['author']:
|
||||||
print(data['author'])
|
|
||||||
author = PluginAuthor(
|
author = PluginAuthor(
|
||||||
name=data['author']['name'],
|
name=data['author']['name'],
|
||||||
org_id=data['author']['org_id'],
|
org_id=data['author']['org_id'],
|
||||||
|
@ -44,7 +44,7 @@ class CatalogPluginTable(BaseTable):
|
|||||||
verbose_name=_('Name')
|
verbose_name=_('Name')
|
||||||
)
|
)
|
||||||
author = tables.Column(
|
author = tables.Column(
|
||||||
accessor=tables.A('author.name'),
|
accessor=tables.A('author__name'),
|
||||||
verbose_name=_('Author')
|
verbose_name=_('Author')
|
||||||
)
|
)
|
||||||
is_local = columns.BooleanColumn(
|
is_local = columns.BooleanColumn(
|
||||||
|
Loading…
Reference in New Issue
Block a user