This is a demo using Django Channels to implement a simple WebSocket-based chat server. You can see the code on GitHub, or try the app:
Or, you can visit https://django-channels-example.herokuapp.com/any-path-you-want
to create a arbitrary room or join one whose name you know.