I have two pages in Django, I want to display a page while a task is being done and display second page after it complete how can I do:
views.py
render(request, 'loading_page.html') data_processing() return render(request, 'list.html')
Page one (loading_page.html) I that want to display while I am processing data. After executing that data_processing function, I want to display list.html, How can I do that.
1.4m articles
1.4m replys
5 comments
57.0k users