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.
Hi I was following your tutorial and so far good. At 17:00 I am getting --> Loading failed for the with source “localhost:8000/static/channels/js/websocketbridge.js”. localhost:8000:6:1 --> ReferenceError: channels is not defined[Learn More] localhost:8000:13:15 localhost:8000/:13:15 in Web Console. Can anyone help me out with this?
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.
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 .
Can please solve help in solving thie problem? ERROR : Uncaught ReferenceError: channels is not defined at HTMLDocument. ((index):11) ->>> const webSocketBridge = new channels.WebSocketBridge(); And yes, I have channels. Firefox: Error Failed to load the with origin ReferenceError: channels is not defined
Google chrome: ERROR : Uncaught ReferenceError: channels is not defined at HTMLDocument. ((index):11) ->>> const webSocketBridge = new channels.WebSocketBridge(); And yes, I have channels. Firefox: Error Failed to load the with origin ReferenceError: channels is not defined Help please, thanks.
You should make folder "static " in your project repository and under the static meke folder channels and under it js and under it make file websocketbridge.py .goto to github repository of project and copy code of websocketbridge.py and paste it in your file websocketbridge.py .
@@williyjohn1091 You should make folder "static " in your project repository and under the static meke folder channels and under it js and under it make file websocketbridge.py .goto to github repository of project and copy code of websocketbridge.py and paste it in your file websocketbridge.py .
You should make folder "static " in your project repository and under the static meke folder channels and under it js and under it make file websocketbridge.py .goto to github repository of project and copy code of websocketbridge.py and paste it in your file websocketbridge.py .
Arun. I am working on a chat app that has Rooms. Each room has two users. A user can be in multiple rooms i.e, a user has multiple rooms. And now he is chatting in one room. But he receives a message in another room. I would like to notify about the message from other room to the user. How should I implement this?
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.
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
You have several options. Either filter the consumers when you recieve the the message based on some user property or move the subset of users to a separate group.
@@arunrocks yes please we need a example howto send notifications to specific user or specific groupe of users the doc in not clear on how to create groupe and add users to it
Awesome video! can we replicate the same functionality on django admin panel. Like when a user is created from the front end, the admin panel show him without a refresh.
one question I see on the official documentation site for django channels it says to use pipenv install -U channels and on your tutorial you did pipenv install channels is there a difference thank you ?
I think you are referring to "pip install -U" which installs and upgrades. The tool I am using is "pipenv" which performs a lot more than pip like dependency management. I would recommend the latter.
I don't have a Windows machine to test at the moment but yes I remember it was a little tricky to install twisted. For learning purposes, I strongly recommend setting up a Linux virtual machine using VirtualBox. Saves you a lot of time.
hi brother i have this error how to solve this ( raise ValueError("No handler for message type %s" % message["type"]) No handler for message type websocket.disconnect )
Hi Arun, Even I got same error, after completing "Echoing consumer" part, I exactly did what you did, my code @ github.com/chitranjali/channels2proj , I am using safari browser, can you please let us know what might've gone wrong?
Thanks, man for helping me out when all others failed to explain such a simple concept. I owe you one.
Thank you for this sir. I've lost so much time before getting here. Thanks for your clear explanations. Really not another Chat tutorial
The concepts in the video help shed more light on most parts of the channels project.
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..
Great tutorial. Thank you, Arun!
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.
Very interesting - and useful. Having struggled with this a lot, this video was very clear.
Thanks... 29:20 helped...
Thank you so much. I hope these concepts will be much helpful in establishing my Danjgo skills.
Man Thank you soo much, you saved so much of my time. Really appreciate your work :)
you are a great man ty
Please do stack overflow notification using channels 2
Hi I was following your tutorial and so far good. At 17:00 I am getting
--> Loading failed for the with source “localhost:8000/static/channels/js/websocketbridge.js”. localhost:8000:6:1
--> ReferenceError: channels is not defined[Learn More] localhost:8000:13:15
localhost:8000/:13:15
in Web Console. Can anyone help me out with this?
According to the docs, it's not supported anymore. What a pain !
Nice video, it helps me a lot !
sir thank you, you help me through my project!
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.
Great tutorial, thanks!
/channels/js / websocketbridge.does anyone know how to follow a path other than this that has removed the support of js?
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 .
its not working websocketBridge.js not found in console
cant u use simple windows.. i've lost track of what folders are you in.
thank you so much!
nicely explained ...
Thanks for the video! I also have your django best practices book :) !
Awesome! Would love to read your review on it.
I am getting an error channels not imported in javascript
man you are genius
it shows error and not kept on disconnecting!!i'm trying on windows
is there any other ways to build a push notification?
Can please solve help in solving thie problem?
ERROR : Uncaught ReferenceError: channels is not defined at HTMLDocument. ((index):11) ->>> const webSocketBridge = new channels.WebSocketBridge(); And yes, I have channels. Firefox: Error Failed to load the with origin ReferenceError: channels is not defined
Google chrome:
ERROR : Uncaught ReferenceError: channels is not defined
at HTMLDocument. ((index):11)
->>> const webSocketBridge = new channels.WebSocketBridge();
And yes, I have channels.
Firefox:
Error Failed to load the with origin
ReferenceError: channels is not defined
Help please, thanks.
same probloem
You should make folder "static " in your project repository and under the static meke folder channels and under it js and under it make file websocketbridge.py .goto to github repository of project and copy code of websocketbridge.py and paste it in your file websocketbridge.py .
@@williyjohn1091 You should make folder "static " in your project repository and under the static meke folder channels and under it js and under it make file websocketbridge.py .goto to github repository of project and copy code of websocketbridge.py and paste it in your file websocketbridge.py .
You should make folder "static " in your project repository and under the static meke folder channels and under it js and under it make file websocketbridge.py .goto to github repository of project and copy code of websocketbridge.py and paste it in your file websocketbridge.py .
Arun. I am working on a chat app that has Rooms. Each room has two users. A user can be in multiple rooms i.e, a user has multiple rooms. And now he is chatting in one room. But he receives a message in another room. I would like to notify about the message from other room to the user. How should I implement this?
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.
Thank you so much
Is the notification applicable even not using a websocket?
aioredis.errors.ReplyError: ERR unknown command 'EVAL'
what should i do sir?
why not use web var ws = new WebSocket('ws://' + location.host);
Love your video, hello from mexico
Can u share websocketbridge.js.. it was not in your git
It got removed from Django Channels project recently. I have added it to my Git repository now.
Hi, I got stuck at the same place. websocketbridge.js was dropped in channels 2.4.2 :(
Thanks!
please sir help me google colud problem this
failed: Error during WebSocket handshake: Unexpected response code: 404
Channels has now removed the javascript wrapper. Follow documentation or a newer tutorial
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
You have several options. Either filter the consumers when you recieve the the message based on some user property or move the subset of users to a separate group.
very nice can you provide me an example code? @@arunrocks
@@arunrocks yes please we need a example howto send notifications to specific user or specific groupe of users the doc in not clear on how to create groupe and add users to it
Thanks for this! I'm just getting started with channels and readthedocs was not as helpful as your video.
I think this is the older version of channels
Awesome video! can we replicate the same functionality on django admin panel. Like when a user is created from the front end, the admin panel show him without a refresh.
I don't think it would be easy. You will need to create channel endpoints in the backend and make considerable changes in the admin frontend.
one question I see on the official documentation site for django channels it says to use pipenv install -U channels and on your tutorial you did pipenv install channels is there a difference thank you ?
I think you are referring to "pip install -U" which installs and upgrades. The tool I am using is "pipenv" which performs a lot more than pip like dependency management. I would recommend the latter.
another question did you have trouble , I run into Microsoft visual C++ 14.0 required when trying to install channels
how did you get Twisted installed I went to there site and says only python 3.3 is compatible at the moment thanks
just curious...which OS are you using?
Arch Linux
Chanel's integrate to mqtt try to do one video
someone can tell me how to make a new message chat notification?
i was also looking for the same
You should show the end product first
he shouldn't do anything, be grateful and just skip to the end of the video
hello, my websocketbridge not listen. i wrote all of these codes in my own project but when i add user , nothing happened can u help me please?
27:56
cool
another question how are you getting it to work with python3.6 I keep running into issues installing channels
I am using 3.6 as well. Which OS are you using and what issues do you face?
Windows 7
I don't have a Windows machine to test at the moment but yes I remember it was a little tricky to install twisted. For learning purposes, I strongly recommend setting up a Linux virtual machine using VirtualBox. Saves you a lot of time.
I tried that as well with windows 7 cause other issues i may have to wait good tutorial though
Which terminal you are using?
XFCE Terminal, if I remember right.
@@arunrocks Thanks for reply. 😃
hi brother i have this error how to solve this ( raise ValueError("No handler for message type %s" % message["type"])
No handler for message type websocket.disconnect )
Hi Arun, Even I got same error, after completing "Echoing consumer" part, I exactly did what you did, my code @ github.com/chitranjali/channels2proj , I am using safari browser, can you please let us know what might've gone wrong?
Could you try comparing with the code on github?
yes I am compared this code but not solved. if you have realtime chat program then please send me to my email svijinraj@gmail.com
Sorry Arun! my bad, it was a typo :( , it's working perfect now, Thank you :)
Hello, I am also getting the same error. Double checked the code with repository too. Is there any solution?
17:15 covfefe :D :D