2👍
Django uses WSGI which is designed for synchronous processing, so doing what you want is not easy. That said there is one guy who seems to have done implementation for asynchronous responses. That’s probably not the most efficient or reliable, but at least it’s possible.
Source:stackexchange.com