From: Guillaume Pellerin Date: Thu, 23 Jun 2022 15:31:49 +0000 (+0200) Subject: fix import X-Git-Tag: 2.7.1~35^2~6^2~3^2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=06a48c2caf2747620b1d1ddb4dfd3749fa45eb70;p=teleforma.git fix import --- 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()),