Loading the HTML while still working in Django (probably through asynchronous functions) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Loading the HTML while still working in Django (probably through asynchronous functions)

I have this project that I’ve been working on for a while https://github.com/Grumpy-Kat/WebScraping In the views.py, I scrape a lot of information from IMDB, with each call taking around 0.3 of a second. Meanwhile my page will stand idle. I want to have it load the page and then finish up the call. For instance, I want it to load the recommended after already showing the actors and actresses that played in both. Or in index, I want to allow the user to type and then show the options to click on. How? Thanks

24th Apr 2018, 3:17 PM
Ariela
Ariela - avatar
1 Answer
24th Apr 2018, 3:30 PM
Emma