From add2c9597a83940ffad069ecd4ce691e0cf69d0e Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Sun, 10 Mar 2019 10:20:53 +0300 Subject: [PATCH] Use proper names for tasks --- feeds/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feeds/models.py b/feeds/models.py index ef390b4..c798edb 100644 --- a/feeds/models.py +++ b/feeds/models.py @@ -30,7 +30,7 @@ class Feed(models.Model): self.lock = True self.save() - execute_feed.delay(self.pk) + execute_feed.apply_async(args=(self.pk,), shadow=str(self)) def __str__(self): return f'#{self.pk} {self.title}'