Using progress bars while performing long computations and loading another page

233 views
Skip to first unread message

Mohamed Maher

unread,
Feb 23, 2019, 8:58:27 AM2/23/19
to Django users
Hello,

I have a scenario now where I send a GET request from a form in a web page to another page where I do some long processes before showing results. 

Now, I'd like to implement some progress bars that shows the level of completion of these processes and then get the output and show it on the results page.
I search alot about how to do that and I found some blogs about using Celery with a broker like RabbitMq or Redis to perform an asynchronus task along with the django project which loads an html page showing the progress bar and I tried to use this library 
and I performed all the installation steps one by one however, the progress bar doesn't appear while I can't find any logs for the celery where I can figure out what is going wrong?

I'm asking about if there is an already implemented example with the same scenario which I can use or a better way explaining how to use celery and where can I find logs coming out of celery?


Thanks in advance

Ryan Nowakowski

unread,
Feb 23, 2019, 1:32:21 PM2/23/19
to Mohamed Maher, Django users
Whenever I've used celery in the past, any logging in the celery task appears in the terminal running the celery worker.
Reply all
Reply to author
Forward
0 new messages