Ensure Sequential Task Execution with Celery in Django REST Framework?
I have a Django REST Framework project where I need to call two Celery tasks sequentially. Specifically, I need to call first_function
and then after some operations, call the second_function
, ensuring that second_function
runs only after first_function
has completed.