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', game_consumers.ws_re
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")--
2 matches
Mail list logo