Don't forget to check out my Complete Django course: dub.sh/tukI9mp
@kalok2206 Жыл бұрын
This tutorial not work on Channels v4.0.0 Should be force to install v3.0.5 : > python -m pip uninstall channels > python -m pip install -Iv channels==3.0.5 By the way. This tutorial is best I found in youtube
@willsanchez5735 Жыл бұрын
THANK YOU FOR THIS!!!!
@strikelight1041 Жыл бұрын
thank you so much
@truelife90574 ай бұрын
Really thank man!
@siddharth54444 ай бұрын
from v4.0.0 of channels, ASGI in development mode does not work. You will have to install daphne as well python -m pip install -U daphne
@juangabrielblancomartinez38654 ай бұрын
Thanks for you help
@johnnygarcia7297Ай бұрын
This is why i love this channel, no losing time straight to the point step by step
@philosoraptor87282 жыл бұрын
Despite the language barrier, it is the best material I could find, and it is very well explained. You made it look very easy what is breaking my head a week ago, Good job, thanks.
@user-et7hv3oc8h29 күн бұрын
I love the content. Its fast, doesn't waste my time and particularly covered everything I needed. Sleek thanks.
@CharlesBLim2 жыл бұрын
Boy that was intense, oversimplified indeed but my mind gets overloaded with this advance lesson on Channels and websockets. Thanks
@marcinknap38022 жыл бұрын
You are literally reading my mind. Seriously Dennis, thank you for your work.
@geetcyberlab51082 жыл бұрын
I haven't watched the video yet but am rating it a 5-⭐ keep up the good missionary work Denis...
@amadzarak77464 ай бұрын
Dennis is single handedly carrying my career 😂
@DennisIvy4 ай бұрын
😉
@DarkOceanShark2 жыл бұрын
I was just learning WebRTC so that I can send client side camera feed to the server. By doing so, I will be able to apply machine learning on that feed and identify facial expressions in server-side. I came across Django channels which can be used for this purpose along with WebRTC. Now you have uploaded a video on Django Channels! I love your channel and this video is gold to me. You gotta be reading my mind haha. If you can could you like make a video on what I am trying? Sending client side webcam feed to server and processing that feed in server-side. Thank you!
@tanaysheth86012 жыл бұрын
It's a good idea! Django with computer vision(like Opencv) is really one of the greatest projects to do.
@DennisIvy2 жыл бұрын
I just did a video on my channel on a django video chat application and in that video I mentioned that I planned to do a video with channels, websockets & webRTC. So keep an eye out for it ;)
@DarkOceanShark2 жыл бұрын
@@DennisIvy Sure, thank you!
@dhirajkafle472 жыл бұрын
@@DennisIvy yeah, we are waiting for it
@BehruzbekOtayev2 жыл бұрын
thank you for helping make Django more accessible to beginners. Keep up the great work.
@radeonblue18162 жыл бұрын
Thanks for manually typing the code and showing to us how this works. 8:38 was the best time for me when I saw the message on console. Based on documentation I had pasted the code as they said but it hadn't worked. Fortunately, Everything worked when you showed writing the code by yourself rather then copy pasting it.
@dhirajkafle472 жыл бұрын
This is good .. waiting for more depth description about django channels & more advance real chat app
@japsimransingh99332 жыл бұрын
Best Django teacher on planet Earth....
@indraxios2 жыл бұрын
these oversimplified videos are soo awesome
@charlesmay20002 жыл бұрын
I'm looking forward to the full version of this video to come out, I've tried to implement django channels into my project multiple times and can't seem to figure it out. Thanks for the content.
@aphelioschenik3162 Жыл бұрын
PLZ PIN THIS COMMENT OF @Shivam Athiya For those who are struggling like me to achieve this - Starting ASGI/Channels version 3.0.5 development server or If you cannot send messages, the problem is channels version. You have to change the channels version to the 3.0.5. The latest version of channels is 4.0.0 and it seems not to be working. So do: pip install channels==3.0.5 or change the version in your virtual environment to: channels==3.0.5 thanks to this guy - @Szymon Budziak
@oe669 Жыл бұрын
BRO I LIKE YOU!THANKS!
@user-by4ql3vr6k Жыл бұрын
God bless u
@jairnarvaez22599 ай бұрын
Grande!! Gracias
@frhadagayev81937 ай бұрын
bro, you are hero and you are the king of this chat. Thanks for this comment
@jacobyoung20452 жыл бұрын
I now understand Django channels thanks to this video.
@milotr2 жыл бұрын
I'm waiting for the full chat app tutorial! Love your channel! I've learned so much and yet, so much more to learn!
@kassimolawale4223 Жыл бұрын
Thank you so much, you really helped me understand this alot..... reading the channels doc it's now making sense to me I had to install daphne so as the asgi could actually start
@jpablomayorga2 жыл бұрын
Thank you very much, I'm new to the subject of django channels and I found your introductory explanation very good. Using redis as an in-memory database integrated with channels is very complex, you already published that video, I really appreciate the information you can share about it
@CodeWithClinton2 жыл бұрын
I have been waiting for this tutorial. Thank you Dennis. 💙💙
@liam79352 жыл бұрын
bro by far the best tutorials on youtube Thankyou!!
@zakiradel17646 ай бұрын
wow man neat and clean explanation you have my respect 🤛
@Siddid2 жыл бұрын
i was just searching for this some time ago but didnt find any relevant video and then you uploaded this video
@a.ejfler3058 Жыл бұрын
Dennis you have a gift for oversimplifying things for us :) looking forward to see one to one chat video with Redis
@medsmati20632 жыл бұрын
Thanks a lot, I love your series of "oversimplified".👍
@radhouenebousnina93522 жыл бұрын
Thanks man I asked you for this and boom a video uploaded in few days ! Thank a lot
@hamadakamal38812 жыл бұрын
u promised and fulfilled , thanks from egypt dennis♥️♥️
@mohammedyousef20742 жыл бұрын
Great ! Your student from Uzbekistan
@wolfred108 ай бұрын
This tutorial needs an update, you have to include the package "daphne" for it to work
@gheathalabbas298 Жыл бұрын
We are still waiting for that full chat app tutorial 😁😅. Your videos are really amazing ♥️.
@LordFullStack2 жыл бұрын
if possible .then Also Add One to one chat in the coming Video please!
@DennisIvy2 жыл бұрын
I will 😉
@hamadakamal38812 жыл бұрын
@@DennisIvy that is really what we need
@geetcyberlab51082 жыл бұрын
🤗Exactly but this is a good start. like they say "half bread is better than none...😊"
@kanhaiyakumar26852 жыл бұрын
@@DennisIvy you explained things so nicely 🥰
@ifeanyi92952 жыл бұрын
@@DennisIvy exactly what we need
@theneologic4742 жыл бұрын
Awesome! Thank you Dennis! Looking forward to the integration with Redis!
@undergroundindy2 жыл бұрын
Looking forward to the more in depth video! Hope its coming soon!
@abi_xyz2 жыл бұрын
Hi ! great teaching for beginners in web socket like me! I hope the next video is advanced web socket! thank you
@ashitoshkamble6852 жыл бұрын
Really helps as very much simplified explanation. Thanks.
@solarris54099 ай бұрын
Awesome tutorial! Thank you, you helped me a lot for my english project :)
@sylvestermitchell37562 жыл бұрын
Nice video! Can't wait for the chat application.
@aishsingh9909 Жыл бұрын
Absolutely loved it, very concise and to the point
@viveksinghal18432 жыл бұрын
Thank you so much for this. You're great, man. Your udemy course is top notch. Edit: as everyone saying that you read their mind; well include me in that list as well. I was also thinking of create multiplayer game and reading django channels
@chickenonaraft5084 ай бұрын
Excellent, concise overview
@andysonm2 жыл бұрын
Excellent Tutorial. Waiting on the next part now
@21Veras Жыл бұрын
Thank you for the explanation, I'll try to implement it in a personal project.
@parmanandchauhan61822 жыл бұрын
Thanks man. Waiting this for after Agora video.
@giuliodigiamberardino3223 Жыл бұрын
I can’t see “Starting ASGI/Channels” in my run server..
@MichaelOsipov8 ай бұрын
Or change the channels version to the 3.0.5.
@tulsiroy86315 ай бұрын
You can add "daphne" in the installed apps. This fixed the issue for me.
@dahomosapien3 ай бұрын
@@MichaelOsipovyou legend!! It worked. Thanks :)
@JohnStrandt2 жыл бұрын
Sounds great Dennis! Nice job
@user-oi5hr1oz2d Жыл бұрын
4:20 For some reason, my project didn't want to start without Daphne. (added: python -m pip install daphne) and it worked. Maybe because my version of djanga is different then in video. But after it i got the result "Starting ASGI/Daphne version" :)
@zdenek394 Жыл бұрын
Had the same issue bro. I remember following the tutorial a while back and seeing the starting ASGI server message... now nothing ... I thought it was some small mistake, tried to solve it for hours.
@CC-nz2oc8 ай бұрын
Same problem. Thanks for solution bro
@adityapradhan73102 жыл бұрын
thank you for the video. Oversimplified is quite interesting !
@danielvega6466 ай бұрын
Waiting for the whole video on the Django chats app!
@amirgh60902 жыл бұрын
it is a great video. Hope to see the full chat app quickly
@havehalkow Жыл бұрын
It didn't work for me for some reasons, but I learned something, thank you!
@vivekk73762 жыл бұрын
"WebSocket is already in CLOSING or CLOSED state" this is my problem how to solve
@leandromarquez9257 Жыл бұрын
Could you solve it?
@hereisfahadАй бұрын
You have to wait for the socket connection to complete before sending the message. It should look something like this: function sendMessage(message) { chatSocket.send( JSON.stringify({ message: message, }) ); } setTimeout(() => { sendMessage("test") }, 5000)
@raresduta31982 жыл бұрын
This is awesome! I was searching for something like this all day! Thank you very very much! When is coming Full Chat app?
@mrindia41782 жыл бұрын
Was waiting for this thank you so much
@ravidawade51782 жыл бұрын
Full of knowledge, thanks a lot for making such videos 👍
@girish25552 жыл бұрын
Finally channels got demystified.
@deep-horizons Жыл бұрын
Thank you for this great in-depth tutorial, this fixed my problem, Would you please give us tips, on how you learn this Django, I mean to say you know how and which library we should load for the specific purpose. Please if you guide us on how we can learn Django as Good as you are, Thank you again 👍
@Siddid2 жыл бұрын
cant wait to see more videos on this
@BarziniNwa4 ай бұрын
You are the man 🏆
@Chrisyk1116 ай бұрын
Still useful 2 years later
@brantechsyt61302 жыл бұрын
Great video dennis✌🏽
@anvarzaripboyev57302 жыл бұрын
Very interested video tutorial. Thank you very much!
@shashishekhar---- Жыл бұрын
such an nice way to explain things, thanks
@farazahmed16682 жыл бұрын
Hey, Sir kindly make a video on difference between Django, Flask, and specifically FastAPI what are the specific problem or usecase in which one framework does better then other and what framework a beginner learn first. It will be highly appreciated. Thank you.
@NuXp072 жыл бұрын
Waiting for the next channels video Please make it soon ❤️
@youngjoelroberts6 ай бұрын
Good work. Thanks a bizzle
@killleader6444 Жыл бұрын
Really oversimplified and helpful. Thanks a lot dude also can we use this channels and websockets along with backend APIs as well ?
@agroforestryconsultancyroz31572 жыл бұрын
Very good teacher!
@aliniaz64484 ай бұрын
that's what i need thanks
@afuhchristianforkoum72292 жыл бұрын
Error .. Nonetype has no attribute group_add Then disconnects
@yashinshekh802 Жыл бұрын
you are amazing as always
@gersoninthekitchen66562 жыл бұрын
You are the best mate
@xiao_wang1212Ай бұрын
Thank you very much! This helped me a lot, but I encountered a problem while working on the project. I have a complete pygame project, and I suddenly wanted to know if I could combine it with Django. I asked chatgpt, and he said yes and gave me websocket-related methods, but problems would occur every time I executed it. I would like to ask if it is feasible to combine Pygame and Django?
@user-eq4cz4jv6pАй бұрын
thank you it was helpful
@DevDungeon2 жыл бұрын
Great content!
@imPxLxs2 жыл бұрын
I read channels duc 1week before I can remember in the duc they said all channel layers method are Asynchronous But here you use Async_to_sync Why? Already your code wasn't Asynchronous I didn't see any await or async on the code If I have mistake , say me
@user-oh1lu3vw8b Жыл бұрын
great video, very helpful!
@themarksmith2 жыл бұрын
Excellent - thank you!
@mtb-kv6or Жыл бұрын
Super clear and useful video. Thanks for that Dennis. However when will post another video for channel with redis in order to deploy the solution on prod with https server? Thanks in advance
@codexperience79512 жыл бұрын
I finished your course on udemy, the django restframework with react, it was fun and full of learnings. You only have a django full course 2021, can you do the same with react with a definitive guide? thank you this is just a suggestion! Continue teaching!
@fsadykov2 жыл бұрын
hey, this is awesome and I really love your videos. I really appreciated that you speed up the process. so I can pause it and re-watch it. I am following this to implement the terminal to my website. I did lots of research and found lots of docs and examples but not for Django. I was wondering if you are interested to do the freelancing or some support???? I need you to help with some issues that I am facing with my local host. Looking forward to hearing from you
@Coda4042 ай бұрын
This tutorial not working on Channels v4.0.0 above, if you want to make it work on the new version, just change the consumers chat class from regular function to async.
@ahmedahmedx96002 жыл бұрын
Please dennis help me, I have a problem that i want to display real time output from script while its running in terminal to django app cause django wait for script to finish and its takes lot of time, channels may help with this ? Can you make a video explaining the fix please
@ArisAris-fs1ip10 ай бұрын
In order to make it work, i had to install daphne.... It happens with the channels version 4.0.0
@wdudafa695810 ай бұрын
What did u do after u installed it? because i just installed it and it still doesnt work
@shuaibahamed86922 жыл бұрын
Its about time
@erik16392 жыл бұрын
Hi, love your tutorials on Django. I've learned so much. One question though. How would I go about adding this live chat to a frontend framework like react that is hosted on another server?
@Ronobuildstech Жыл бұрын
is rendering a html file really necessary when working with django restframework?
@DennisIvy Жыл бұрын
No
@Ronobuildstech Жыл бұрын
@@DennisIvy thank you for the reply
@divyanshnautiyal8110 Жыл бұрын
not getting channels/ASGI
@MichaelOsipov8 ай бұрын
Or change the channels version to the 3.0.5.
@daltonsaid Жыл бұрын
Thanks for the video. Have you made the one with redis yet? I haven't been able to find it in your video list
@afuhchristianforkoum72292 жыл бұрын
Sir... I had a problem at the last part...i think it has something to do with the python and django version I'm using....pls can you tell us which python and django versions you are using
@radeshf2 жыл бұрын
very very useful , thank you a lot
@alizabetpour2 жыл бұрын
continue this subject.thank you
@syedrayyan536 Жыл бұрын
hey, as you mentioned in the video channel layers will be different for the production. So will you please add this video of deploying websockets!
@riyansh3396Ай бұрын
How can I do that using djangorestframework and that too if I am using simple jwt for authentication?
@tanery.73234 ай бұрын
How much concurent connection can django channels handle? I need more than 10k concurent connection. And 1k messages per second. Can i use django chanels for this project?
@TeamZ_012 жыл бұрын
Hey bro, awesime video! Pls add a video about django channels and redis, thnx
@valn_ilyo2 жыл бұрын
Luv you mate!
@Michael-nc3lp Жыл бұрын
very helpful, thanks a lot
@NguyenLam-vt9jp2 жыл бұрын
Hey, Dennis.Thank you for teaching me useful knowledge. I have a question. How to receive obj from DB and send to Front End Websocket as event constantly with channels Django. I tried to try but every refresh does not receive data from DB to Front END