Nodjango, websockets with Django and Nodejs
- Audience level:
- Web Frameworks
Nodjango, a portmanteau of Node and Django, is a simple module to add websockets to Django. Rather than complicatedly rolling a Django websockets server in Python, this library simply connects to a Nodejs socket.io server as a client, and exposes certain Python services like the Django ORM over this websocket to the Nodejs application. A proxy routes non-websockets traffic to the Django webserver.