From 06a48c2caf2747620b1d1ddb4dfd3749fa45eb70 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 23 Jun 2022 17:31:49 +0200 Subject: [PATCH] fix import --- app/asgi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/asgi.py b/app/asgi.py index d2fc08e4..5fc368af 100644 --- a/app/asgi.py +++ b/app/asgi.py @@ -8,7 +8,8 @@ django_asgi_app = get_asgi_application() from channels.auth import AuthMiddlewareStack from channels.routing import ProtocolTypeRouter, URLRouter from django.urls import re_path -from teleforma.ws import chat +from teleforma.ws import chat, notification + websocket_urlpatterns = [ re_path(r'ws/chat/(?P\w+)/$', chat.ChatConsumer.as_asgi()), -- 2.39.5