Django Channels Tutorial 🔥: the most minimal Real Time app (not Chat) | Django WebSockets

Published: 22 December 2020
on channel: Red Eyed Coder Club
61,362
1.5k

This Django Channels tutorial is the most minimal example of how to use Django Channels to create a Real Time application, that uses Django and Websocket.
The main idea of this Django Channels tutorial is that Django generates numbers from 0 to 100, and send them to the front-end via opened WebSocket connection. And these numbers are rendered in real time without any actions from the User.

Minimum of JavaScript code.
Minimum of Python and Django code.
Minimum of HTML.
Just the core idea of how to use Websockets with Django.

And again this Django Channels tutorial - is the most minimal example of how to use Websockets with Django.

The WebSocket is an advanced technology that makes it possible to open a two-way interactive communication session between the user's browser and a server. With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply.

To work with WebSockets with Django (on the server side) we have to use Django Channels - a special Python Django library.

This is an advanced Django tutorial


Follow me @:
Telegram: https://t.me/red_eyed_coder_club
Twitter:   / codereyed  
Facebook: https://fb.me/redeyedcoderclub



=====================================
📎 The source code is available via Patreon:
  / most-minimal-45284762  
=====================================


** Web Scraping course **
is available via Patreon here:
  / red_eyed_coder_club  

or its landing:
https://red-eyed-coder-club.github.io...

➥ Please ➥ Like ➥ Comment ➥ Subscribe

Django Channels 3 tutorials ***
Real Time Graph:    • Django Channels Tutorial 🔥: Real Time...  
Real Time Broadcasting API response:    • Django Channels, Celery, Redis: Real ...  

** My Django 3 tutorial **
   • Python Django Tutorial #0: Demo of Dj...  

➥➥➥ SUBSCRIBE FOR MORE VIDEOS ➥➥➥
Red Eyed Coder Club is the best place to learn Python programming and Django:
Subscribe ⇢    / @redeyedcoderclub  

Django Channels Tutorial - the most minimal Real Time app (not Chat) | Django WebSockets
   • Django Channels Tutorial 🔥: the most ...  

#django #djangochannels #djangochannelstutorial #redeyedcoderclub #djangowebsockets