Django – instant communication apps

Everything on the web is moving toward instant communication With the rise of whatsapp and facebook messenger, it’s the new way we ‘speak’. Before long, you’ll realise that there’s a Django-equivalent for whaetver it is you want to do.

On looking up chat and Django, I came across Django Channels, for which the official documentation is here: https://channels.readthedocs.io/en/latest/

Channels is a project that takes Django and extends its abilities beyond HTTP – to handle WebSockets, chat protocols, IoT protocols, and more. It’s built on a Python specification called ASGI

There’s an interesting youtube video which shows the potential of this sort of technology in a uber-type website with instant messaging and geolocation enabled.

Additionally, this is the result (see web link below) when you follow the Django Channels tutorial and set up a chatroom.

https://django-channels-example.herokuapp.com/

Leave a comment