Javascript – In Django, when a function in views.py returns a JsonResponse, how can it render a web page at the same time?
I am trying to write a webpage in Django that obtains real-time input from the user and gives some responses back to the user. However, when the function in views.py returns a type of JsonResponse, my HTML file in the…