Performing non-blocking requests? - Django

Posted by RadiantHex on Stack Overflow See other posts from Stack Overflow or by RadiantHex
Published on 2010-04-30T08:51:51Z Indexed on 2010/04/30 8:57 UTC
Read the original article Hit count: 289

Hi folks,

I have been playing with other frameworks, such as NodeJS, lately.

I love the possibility to return a response, and still being able to do further operations.

e.g.

def view(request):
  do_something()
  return HttpResponse()

  do_more_stuff() #not possible!!!

Maybe Django already offers a way to perform operations after returning a request, if that is the case that would be great.


Help would be very much appreciated! =D

© Stack Overflow or respective owner

Related posts about python

Related posts about django