1👍
✅
The problem was in routing.py :
websocket_urlpatterns = [
url(r'^ws/room/(?P<room_code>\w+)/$', DrawConsumer.as_asgi()),
]
the correct version is :
websocket_urlpatterns = [
path('ws/room/<room_code>/', DrawConsumer.as_asgi()),
]
Source:stackexchange.com