Add field for wireless config status to Device model
This commit is contained in:
parent
9b73d9a340
commit
d693653464
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ class Device(models.Model):
|
|||
update = models.BooleanField("Trigger Firmware Update", default=False)
|
||||
reboot = models.BooleanField("Trigger Reboot", default=False)
|
||||
changed = models.DateTimeField("Last Change of Device Config")
|
||||
wireless = models.DateTimeField("Last Update of Wireless Config", blank=True, null=True, editable=False)
|
||||
|
||||
def __str__(self):
|
||||
return "%s%s" % (self.serial, " (%s)" % self.curip if self.curip else "")
|
||||
|
|
Loading…
Reference in a new issue