Commit da970f89 by Kálmán Viktor

vm: unicode method for interfacetemplate

parent d62c2443
......@@ -35,6 +35,9 @@ class InterfaceTemplate(Model):
verbose_name = _('interface template')
verbose_name_plural = _('interface templates')
def __unicode__(self):
return "%s - %s - %s" % (self.template, self.vlan, self.managed)
class Interface(Model):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment