Sunday, October 8, 2017

Re: django project avoid reload page where work algorithm





In the background celery worker picks your task and executes it. It doesn't matter how long that takes. Once task is completed worker waits for next task.

Every task gets id which you can return to frontend and then for example using ajax call you could query if task is ready and inform user about progress or completition.


can you show some example with my code ?is easy to bulid ? 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3b5700e0-1c55-42e6-9970-df01c02e30c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment