Django Channels facilitates support of WebSockets in Django in a manner similar to traditional HTTP views . It wraps Django’s native asynchronous view support, allowing Django projects to handle not only HTTP, but also protocols that require long-running connections, such as WebSockets, MQTT, chatbots, etc.
Read moreWhat are channels in Django?
Channels preserve the synchronous behavior of Django and add a layer of asynchronous protocols allowing users to write the views that are entirely synchronous, asynchronous, or a mixture of both . Channels basically allow the application to support “long-running connections”.
Read more