celery / django-celery-results

Celery result back end with django

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Save user id in task result

jameslao opened this issue · comments

I feel it would be helpful to store the user id in the task results, especially for site where multiple people can start tasks.

Could you pass the user's id into the task as a parameter, and return it with the other task results?

Could you pass the user's id into the task as a parameter, and return it with the other task results?

Sure can, but just want to save it to the table so may need to change the model.