(Note: The most popular way to do asynchronous tasks is celery, but indeed some people prefer django-rq, which is said to be simpler. But your question is not affected by that.)
I'm not an expert but I think that the "correct" way to do what you want would be to use comet (i.e. the opposite of ajax). However, if the work required to make that work is not justified by the budget or the business case, you might be able to get away with a message like "This information is being (re)calculated. Reload the page after half a minute to view the updated results." (That's what I did last time :-) Regards, Antonis http://djangodeployment.com On 2016-11-10 10:04, Alain Muls wrote: > Hi All > > I am building a website which makes calculations about the visibility of > satellites. These calculations take about half a minute so I do not want to > block the site during this time. I found django-rq and was able to start a > asynchronous task which handles the calculations. > > The problem I have is how do I find out when the calculations of the task > thread are done so that I can direct the results to another web page which > will display them? > > Thanks for your help > > Alain Muls > > -- 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+unsubscr...@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/37f8c7d0-3559-d54e-9aec-b03ec3a30c57%40djangodeployment.com. For more options, visit https://groups.google.com/d/optout.