websocket server for django application
Django is a synchronous web server. it means you cannot use websocket directly with it. But you have various option to do websocket in Django.
Use a full python stack to do it: use Tornado and Django. You can follow this post
Use Nodejs + socket.io + message broker : Follow this type of tutorial
You will find more resources to help you doing that with node.js & socket.io than using tornado.