Not Found "/lobby/" django-channels routing error

2018-04-04 Thread Mike Johnson Jr
*routing.py* *from channels import include, route* *from chat import consumers* *from . import game_consumers* *channel_routing = [* * #game routing* * route('websocket.connect', game_consumers.ws_connect_lobby, path=r"^/lobby/$"),* *route('websocket.receive', gam

Websocket, django-channels - an existing connection was forcibly closed by the remote host

2017-06-25 Thread Mike Johnson Jr
So I'm getting the error as described in the title of this post. I'm following this tutorial: https://gearheart.io/blog/creating-a-chat-with-django-channels/ Here's the full traceback: In [1]: import websocket In [2]: ws = websocket.WebSocket() In [3]: ws.connect("ws://localhost:8000")--

Re: Add a "split" field to a model causes problems

2012-11-04 Thread Mike Johnson
True > > > class Foo(AbstractFoo): > pass > > > It doesn't make a difference if the ManyToManyField is on the abstract > model or the concrete one. > > Regards, > Andrew > > > On 4 Nov 2012, at 20:42, Mike Johnson > > wrote: > > Hi Andrew

Re: Add a "split" field to a model causes problems

2012-11-04 Thread Mike Johnson
Hi Andrew, I'm trying to come up with a test case for this and am struggling to reproduce the problem in test. Can you post some code to help us reproduce it? Thanks, Mike On Tuesday, October 23, 2012 3:52:10 AM UTC-7, Andrew Ingram wrote: > > Hi all, > > This one stung me today. Basically as