From bac45e8b3d82b2bf270c9712aed44da9ebd3007c Mon Sep 17 00:00:00 2001 From: Daan Sprenkels Date: Sun, 28 Oct 2018 17:28:13 +0100 Subject: [PATCH] Set a str() for QueueCommand --- marietje/queues/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/marietje/queues/models.py b/marietje/queues/models.py index 0aeaa73..31d9e31 100644 --- a/marietje/queues/models.py +++ b/marietje/queues/models.py @@ -151,3 +151,6 @@ class QueueCommand(models.Model): ) command = models.TextField() executed = models.BooleanField(default=False) + + def __str__(self): + return self.command