Honestly, i've gained a lot from your vedios right from when i started learning Django (one month ago). Keep up the good work bro may God reward you abundantly.
I have created this project and it's running well. I will recommend that this video is the best and simple video for a real-time chat application on UA-cam.Thanks Sir
Probably because you are connecting to the wrong endpoint or you’ve not setup properly. Check the terminal for error logs and make sure you have done exactly what I explained on the tutorial
You will have to find a way keep track of that yourself when each user joins the chat. Perhaps creating a temporary list that stores all the users that are logged into a chat at any moment. So you append the username to list when user connects to socket and remove username from list when user disconnects from socket. This is just one simple way, you can use other methods
Hi, saw your whole implementation. That's great. Could you please try to explain your custom codebase whenever possible? because in the end, you were suppose to explain the leftover code, but i think you forgot it. Thank you.
@@the_proton_guy Yes, I didn't get an error. Also, when I refresh my page after clicking the send button, then I can see new websockets in the terminal.
Hi. Thanks for this tutorial, I like how you teach. But i have an error with the code: raise ImproperlyConfigured("Cannot import ASGI_APPLICATION module %r" % path) django.core.exceptions.ImproperlyConfigured: Cannot import ASGI_APPLICATION module 'ChatProject.asgi' It hapenned with my project, so i download your github code and try a runserver but it throws the same error as my project. So i dont'k know what to do. It would be great if you know how to solve this, pls. :D
Hello. Thank you for your kind words! You say you cloned my own code and ran it and it didn't run? First off, let's make sure that all the dependencies are installed properly
@@the_proton_guy Yes. That was the problem. I download all the dependencies and the virtual enviroment again just in case and now it works. Very thank you ^^. I hope you continue with the tutorials. They are so nice :D
That’s also possible but the logic will have to be changed, for that, an idea would be to create unique rooms between two users, using their usernames, since their usernames are unique, a room for only two users could for example have a room name: username1_username2 so only the 2 users who are friends can chat in the room
Honestly, i've gained a lot from your vedios right from when i started learning Django (one month ago). Keep up the good work bro may God reward you abundantly.
Thank you so much! I am glad I could help
I have created this project and it's running well. I will recommend that this video is the best and simple video for a real-time chat application on UA-cam.Thanks Sir
Aw, thank you for your kind comment 🎉
Easy to Learn, Easy to Understand, Easy to Implement ❤
Your teaching method is great.
Thank you so much! A sub to the channel would be helpful 🙏🏿
To be honest bro
You're one of the best UA-camrs I've come across in terms of easy explaining and understanding
Tnx alot
Thank you so much 🎉
Hello the proton guy I’m ur biggest fan
Love from the US💯❤️
Thanks man!
today i completed this project and it is working properly, hope to see u on some of unique project ideas
Thank you! Happy to let you know that I am considering making a tutorial on a real time video calling web app with Django
when i create a room it shows the websocket connection closed why?
Probably because you are connecting to the wrong endpoint or you’ve not setup properly. Check the terminal for error logs and make sure you have done exactly what I explained on the tutorial
Hi, Where did you explain that line of code in connect ??
What line of code
i'm getting this error "No route found for path 'ws/notification//'", i already seek many solutions but i can't solve it
Are you sure you setup the endpoint properly?
@@the_proton_guy i did everything acording to the video, so i don't know
@@the_proton_guy what is your channels version, i was using version 4.0, but now i switched to 3.0.5 and it worked
Hmmm interesting. I can’t remember what version I made use of. I am glad it works now
@26:31 haha, i see the first roomname
I this chat app how can we list all the connected users in real time ?
You will have to find a way keep track of that yourself when each user joins the chat. Perhaps creating a temporary list that stores all the users that are logged into a chat at any moment. So you append the username to list when user connects to socket and remove username from list when user disconnects from socket.
This is just one simple way, you can use other methods
Hi, saw your whole implementation. That's great. Could you please try to explain your custom codebase whenever possible? because in the end, you were suppose to explain the leftover code, but i think you forgot it. Thank you.
Hello! Can you shed more light on what you mean by left over code so I know how to assist you
I downloaded and used your code, but I'm receiving new messages when I refresh the page.
Did you set it up properly?
@@the_proton_guy Yes, I didn't get an error. Also, when I refresh my page after clicking the send button, then I can see new websockets in the terminal.
@Najmiddin0 send me a screenshot on Instagram. My username is the_proton_guy
Hi. Thanks for this tutorial, I like how you teach. But i have an error with the code:
raise ImproperlyConfigured("Cannot import ASGI_APPLICATION module %r" % path)
django.core.exceptions.ImproperlyConfigured: Cannot import ASGI_APPLICATION module 'ChatProject.asgi'
It hapenned with my project, so i download your github code and try a runserver but it throws the same error as my project. So i dont'k know what to do.
It would be great if you know how to solve this, pls. :D
Hello. Thank you for your kind words! You say you cloned my own code and ran it and it didn't run? First off, let's make sure that all the dependencies are installed properly
@@the_proton_guy Yes. That was the problem. I download all the dependencies and the virtual enviroment again just in case and now it works. Very thank you ^^. I hope you continue with the tutorials. They are so nice :D
Thank you so much!
i have the same problem. I also ownload all the dependencies and the virtual enviroment again but this give same error
What error do you get?
great thanks for this tutorial
You are welcome!
I’m working on a project but I find difficult to do the notifications. We can do a deal how much will it cost do notifications?
Yea. Let’s talk on Instagram. Send me a message on Instagram. My username is the_proton_guy
Gained one more sub
Thank you
Does this work for windows as well ?
Yes it does.
Pls how about private chat like one on one
That’s also possible but the logic will have to be changed, for that, an idea would be to create unique rooms between two users, using their usernames, since their usernames are unique, a room for only two users could for example have a room name: username1_username2 so only the 2 users who are friends can chat in the room
Can you please help me with an example for two users . I have tried hard but still not getting it right
What did you try
To make private chats but not getting it right
Text me on Instagram. the_proton_guy