[Django]-Django channels error : TypeError: __call__() missing 1 required positional argument: 'send'

4👍

Just change your

ws_pattern = [
    path("ws/game/<room_code>" , GameRoom)
]

With

ws_pattern = [
    path("ws/game/<room_code>" , GameRoom.as_asgi())
]
👤sachin

Leave a comment