When connecting via ws to the app new WebSocket("ws://localhost:8000/");
Application fails with
raise ValueError("No route found for path %r." % path)
ValueError: No route found for path ''.
application = ProtocolTypeRouter({
"http": django_asgi_app,
"websocket": AuthMiddlewareStack(
URLRouter(
[re_path(r'^ws/something/$', Consumer.as_asgi()),]
)
),
})
Shouldn't it raise Resolver404 instead?
channels==4.2.0