title: Long, slow operation in Django view causes timeout. Any way for Python to speak AJAX instead?
body: <p>I've been programming Python a while, but DJango and web programming in general is new to me.</p>
  
  <p>I have a very long operation performed in a Python view. Since the local() function in my view takes so long to return, there's an HTTP timeout. Fair enough, I understand that part.</p>
  
  <p>What's the best way to give an HTTPresponse back to my users immediately, then dynamically show the results of some python code within the page? I suspect the answer may lie in AJAX but I;m not sure how AJAX on the client can be fed from Python on the server, or even the modules one would commonly use to do such a thing.</p>