Part 2: WebSockets in Django
In this part, we will work with a WebSockets server using Django Channels. We will learn how to send messages in real-time from the backend, from plain text, JSON, to complex HTML structures, and how to send messages from the frontend. We will also learn how to use the database to monitor connections, discriminate messages to groups of users or broadcast messages.
In this part, we cover the following chapters:
- Chapter 3, Adding WebSockets to Django
- Chapter 4, Working with the Database
- Chapter 5, Separating Communication in Rooms