add the ip status to the DeviceInNet string represenation
This commit is contained in:
parent
0ea216fc56
commit
92d0636691
|
@ -105,7 +105,7 @@ class DeviceInNet(models.Model):
|
|||
verbose_name="IP Status")
|
||||
|
||||
def __str__(self):
|
||||
return self.ip
|
||||
return "{}: {}".format(self.ip, self.ip_status)
|
||||
|
||||
class Meta:
|
||||
verbose_name_plural = "Devices in Net"
|
||||
|
|
Loading…
Reference in New Issue