Browse Source

Task.is_done replaced with Task.status

Ask Solem 16 years ago
parent
commit
3097c02108
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/models.py

+ 1 - 1
celery/models.py

@@ -60,7 +60,7 @@ class TaskMeta(models.Model):
         verbose_name_plural = _(u"task meta")
 
     def __unicode__(self):
-        return u"<Task: %s done:%s>" % (self.task_id, self.is_done)
+        return u"<Task: %s done:%s>" % (self.task_id, self.status)
 
 
 class PeriodicTaskMeta(models.Model):