Adds task chains

This commit is contained in:
Ilan Steemers
2015-10-17 12:13:29 +02:00
parent 5eb84c600f
commit 6dcead7310
3 changed files with 103 additions and 24 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ class Task(models.Model):
return (self.stopped - self.started).total_seconds()
def __unicode__(self):
return self.name
return u'{}'.format(self.name or self.id)
class Meta:
app_label = 'django_q'