link the backup target_devices to the matching computer

This commit is contained in:
Andreas Zweili 2019-12-29 16:20:49 +01:00
parent 045c8e61de
commit d980030c22
1 changed files with 1 additions and 0 deletions

View File

@ -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'