Jeremy Stretch 1 yıl önce
ebeveyn
işleme
845888c24e
2 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. 0 1
      netbox/core/plugins.py
  2. 1 1
      netbox/core/tables/plugins.py

+ 0 - 1
netbox/core/plugins.py

@@ -155,7 +155,6 @@ def get_catalog_plugins():
 
             # Populate author (if any)
             if data['author']:
-                print(data['author'])
                 author = PluginAuthor(
                     name=data['author']['name'],
                     org_id=data['author']['org_id'],

+ 1 - 1
netbox/core/tables/plugins.py

@@ -44,7 +44,7 @@ class CatalogPluginTable(BaseTable):
         verbose_name=_('Name')
     )
     author = tables.Column(
-        accessor=tables.A('author.name'),
+        accessor=tables.A('author__name'),
         verbose_name=_('Author')
     )
     is_local = columns.BooleanColumn(