I am using Celery + RabbitMQ for queuing tasks in my Django App,
I want to track the state of a task using the task_id and the task_state.
For that i created a TaskModel(Model) to store the task_id, task_state and some additional data in the database. On task execution, a new TaskModel object is save and updated as the task progresses. Everything is working fine.
However, i still need to add a lot of functionality and features and error protections etc. That's when i remembered the celery documentation mentions the django-celery-results.
So i followed the django-celery-results documentation instructions. Tasks results get stored in the default django database in a dedicated table, However only after the task concludes... and not during the PENDING, STARTED states.
Is it possible to use django-celery-results to store and query tasks during the PENDING and STARTED states? or not?
Thanks