Re: Experimenting with Channels: sending messages from Django shell doesn't work

2017-01-16 Thread Andrew Godwin
Hi Joshua, This was actually a bug that was fixed in 1.0.2 - were you on an older version? If not, I'd like to make sure the bug didn't somehow reappear! Andrew On Mon, Jan 16, 2017 at 10:00 AM, Joshua Gardner wrote: > I'm going to answer my own question: > > Appears that I need to use the "im

Re: Experimenting with Channels: sending messages from Django shell doesn't work

2017-01-16 Thread Joshua Gardner
I'm going to answer my own question: Appears that I need to use the "immediately" keyword are to Channel or Group.send. On Monday, January 16, 2017 at 5:27:19 AM UTC-7, Joshua Gardner wrote: > > I'm in the process of developing a Websockets notifications system using > Channels. I've got a Json

Experimenting with Channels: sending messages from Django shell doesn't work

2017-01-16 Thread Joshua Gardner
I'm in the process of developing a Websockets notifications system using Channels. I've got a JsonWebsocketConsumer that adds the connection to a group for the Location (model) that the user belongs to. Connecting to that websocket with wscat, and trying to see if sending to that group works, I