Set a str() for QueueCommand

This commit is contained in:
Daan Sprenkels
2018-10-28 17:28:13 +01:00
parent f1e6fef2d2
commit bac45e8b3d

View File

@ -151,3 +151,6 @@ class QueueCommand(models.Model):
) )
command = models.TextField() command = models.TextField()
executed = models.BooleanField(default=False) executed = models.BooleanField(default=False)
def __str__(self):
return self.command