Channels 3

This commit is contained in:
Tom Hubrecht 2022-06-29 11:10:13 +02:00
parent 1ae5c80f76
commit 2b712dd05d
4 changed files with 5 additions and 5 deletions

View file

@ -5,6 +5,6 @@ from .consumers import OpenKfetConsumer
OpenRouter = URLRouter(
[
path(r"", OpenKfetConsumer),
path("", OpenKfetConsumer.as_asgi()),
]
)

View file

@ -7,7 +7,7 @@ from .consumers import KPsul
KFRouter = URLRouter(
[
path("k-psul/", KPsul),
path("k-psul/", KPsul.as_asgi()),
path("open", OpenRouter),
]
)

View file

@ -6,10 +6,10 @@ psycopg2<2.8
# Redis
django-redis-cache==3.0.*
redis~=2.10.6
channels-redis==2.4.*
channels-redis==3.4.*
# ASGI protocol and HTTP server
daphne==2.5.*
daphne==3.0.*
# ldap bindings
python-ldap

View file

@ -9,7 +9,7 @@ Pillow
django-bootstrap-form==3.3
statistics==1.0.3.5
django-widget-tweaks==1.4.1
channels==2.4.*
channels==3.0.*
python-dateutil
wagtail==2.13.*
wagtailmenus==3.*