[Answer]-Django: calling celery task declared in same module

1👍

✅

Celery is not picking your add task. One alternate way to solve this is to modify the instance of your Celery.

In myproject/celery.py
change instance of celery

app = Celery('name', backend='your_backend', broker='your_broker')

to

app = Celery('name', backend='your_backend', broker='your_broker', 
             include['myapp.admin',])

Leave a comment