Merge "Add attributes "data-display" to clients table row"
This commit is contained in:
commit
460c91aea4
@ -66,7 +66,10 @@ class ClientsTable(tables.DataTable):
|
|||||||
link=get_link)
|
link=get_link)
|
||||||
name = tables.Column('hostname', verbose_name=_("Hostname"))
|
name = tables.Column('hostname', verbose_name=_("Hostname"))
|
||||||
|
|
||||||
class Meta:
|
def get_object_display_key(self, datum):
|
||||||
|
return "hostname"
|
||||||
|
|
||||||
|
class Meta(object):
|
||||||
name = "clients"
|
name = "clients"
|
||||||
verbose_name = _("Clients")
|
verbose_name = _("Clients")
|
||||||
row_actions = (DeleteClient,)
|
row_actions = (DeleteClient,)
|
||||||
|
Loading…
Reference in New Issue
Block a user