Django Channels Tutorial - User Notifications, Echo Consumer, Tick Tock (not another Chat tutorial)

preview_player
Показать описание
Learn Channels in Python 3 through three projects. We cover:

00:00 Intro
01:25 Creating a websocket interface to echo events 01:25
17:51 Generating events after timed delays 17:51
21:10 Integrating Channels layer to broadcast Django signals 21:10

👨🏻‍💻 Code for:

🎥 My Equipment:

My programming environment is Arch Linux, i3 window manager, urxvt terminal and iPython.

🛴 Follow me on:
Hit Like and Subscribe! 😊

#python #django #channels
Рекомендации по теме
Комментарии
Автор

Thank you for this sir. I've lost so much time before getting here. Thanks for your clear explanations. Really not another Chat tutorial

metatronicx
Автор

Thanks, man for helping me out when all others failed to explain such a simple concept. I owe you one.

harshvardhan
Автор

The concepts in the video help shed more light on most parts of the channels project.

armstrongsouljah
Автор

Sir love you.. You own a bhakt of yours from now.. I was confused as hell watching those chat videos.. You explained it so nicely..

TheShuryansh
Автор

Very interesting - and useful. Having struggled with this a lot, this video was very clear.

IterativeTheoryRocks
Автор

Man Thank you soo much, you saved so much of my time. Really appreciate your work :)

augustinetharakan
Автор

Why is the video getting 30 unlike? Unlike most tutorials about channels the just repeat what's on the documentation and a serious bad job at explaining anything. The most viewed django channels tutorials was the most confusing done by just django.

tochimclaren
Автор

Thank you so much. I hope these concepts will be much helpful in establishing my Danjgo skills.

HappyAnimalsD
Автор

sir thank you, you help me through my project!

jovantap
Автор

This is regarding the Notifications, I have a question. for suppose i am adding credentials and submitted after doing this operation a notification has to come in to a bell icon, after we want to do changes in the page and submitted the form. i want to get the notification for the changes i made in the page. create, delete, update. How can we do this all in django.

HariKrishna-muku
Автор

Thanks for the video! I also have your django best practices book :) !

YavinArba
Автор

Hi Arun . This was a brilliant video. Congrats . I have a query on the capability of Channels. Can we run a timer in the background and then take an action when that timer expires ? . The user in the front end can do whatever he likes during that time. I want to put a timer for Interview where Candidate is taking an exam while a timer is being run . He might move onto next question but clock is ticking .

IsItTimeToTravel
Автор

it shows error and not kept on disconnecting!!i'm trying on windows
is there any other ways to build a push notification?

sambitsahoo
Автор

got Uncaught Reference error - it shows channel is not defined
and also in terminal it shows : Not found /sw.js along with Http 404

any help - highly appreciated.
thanks in advance.

akhils
Автор

cant u use simple windows.. i've lost track of what folders are you in.

namesarefools
Автор

Please do stack overflow notification using channels 2

param
Автор

/channels/js / websocketbridge.does anyone know how to follow a path other than this that has removed the support of js?

theandyandy
Автор

Can please solve help in solving thie problem?



ERROR : Uncaught ReferenceError: channels is not defined at HTMLDocument.<anonymous> ((index):11) ->>> const webSocketBridge = new channels.WebSocketBridge(); And yes, I have channels. Firefox: Error Failed to load the <script> with origin <script src="{% static %}" ReferenceError: channels is not defined

williyjohn
Автор

Thanks, that was so great. But I have still a misunderstanding. how can I send notification to just 2 consumer out of 5 consumer that was already registered and open the page for example. in the last application you teach how to filter notifications based on a specific task but I want filter it by registered user. thanks

mamushakeman
Автор

Hi I was following your tutorial and so far good. At 17:00 I am getting


--> ReferenceError: channels is not defined[Learn More] localhost:8000:13:15
<anonymous>

in Web Console. Can anyone help me out with this?

satyasashi
join shbcf.ru