Rad*_*Hex 11 python django asynchronous nonblocking
我最近一直在玩其他框架,比如NodeJS.
我喜欢返回响应的可能性,并且仍然能够进行进一步的操作.
例如
def view(request):
do_something()
return HttpResponse()
do_more_stuff() #not possible!!!
Run Code Online (Sandbox Code Playgroud)
也许Django已经提供了一种在返回请求后执行操作的方法,如果情况很好的话.
非常感谢帮助!= d