1👍
✅
What you are looking for is Websockets (http://en.wikipedia.org/wiki/WebSocket) I believe. They allow the server to send events to the client, instead of polling the server from the client (which is what you are suggesting here).
I may be wrong here, but it looks like there isn’t many Django Websocket libraries out there, I have heard about https://github.com/jonashagstedt/swampdragon but have never used it.
I think (again I could be wrong here) that you may want to use another web framework if you want to use Websockets, I know Flask seems pretty compatible with them http://blog.miguelgrinberg.com/post/easy-websockets-with-flask-and-gevent.
Source:stackexchange.com