From 55f9d9f58b4026ccb1d0a32511c41aef960cc331 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 20 Sep 2016 01:16:58 +0200 Subject: [PATCH] dont create missing tasks --- pandora/taskqueue/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandora/taskqueue/models.py b/pandora/taskqueue/models.py index acaa48d4f..036944871 100644 --- a/pandora/taskqueue/models.py +++ b/pandora/taskqueue/models.py @@ -25,11 +25,13 @@ def get_tasks(username): Task.objects.filter(status__in=Task.DONE, ended__lt=yesterday).delete() # add task for that might be missing + ''' for i in Item.objects.filter(rendered=False).exclude(files__id=None): task, created = Task.objects.get_or_create(item=i) if created: task.started = i.modified task.update() + ''' qs = Task.objects.all() if username: