We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b895355 commit addae17Copy full SHA for addae17
chat/routing.py
@@ -3,5 +3,5 @@
3
from . import consumers
4
5
websocket_urlpatterns = [
6
- re_path(r'ws/chat/(?P<room_name>\w+)/$', consumers.ChatConsumer),
+ re_path(r'ws/chat/(?P<room_name>\w+)/$', consumers.ChatConsumer.as_asgi()),
7
]
requirements
@@ -6,11 +6,11 @@ attrs==20.2.0
autobahn==20.7.1
Automat==20.2.0
8
cffi==1.14.2
9
-channels==2.4.0
10
-channels-redis==3.1.0
+channels==3.0.3
+channels-redis==3.2.0
11
constantly==15.1.0
12
cryptography==3.1
13
-daphne==2.5.0
+daphne==3.0.2
14
Django==3.1.1
15
hiredis==1.1.0
16
hyperlink==20.0.1
0 commit comments