From d980030c220ffc42e8f04ac6b6043e0a1ea6137a Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sun, 29 Dec 2019 16:20:49 +0100 Subject: [PATCH] link the backup target_devices to the matching computer --- network_inventory/inventory/tables.py | 1 + 1 file changed, 1 insertion(+) diff --git a/network_inventory/inventory/tables.py b/network_inventory/inventory/tables.py index adc4fb6..a642ca4 100644 --- a/network_inventory/inventory/tables.py +++ b/network_inventory/inventory/tables.py @@ -49,6 +49,7 @@ class NetsTable(tables.Table): class BackupsTable(tables.Table): name = tables.Column('backup', linkify=True) computer = tables.Column('computer', linkify=True) + target_device = tables.ManyToManyColumn(linkify_item=True) class Meta: template_name = 'django_tables2/semantic.html'