Use proper names for tasks
This commit is contained in:
parent
83d752c1a2
commit
add2c9597a
@ -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}'
|
||||
|
Loading…
Reference in New Issue
Block a user