diff --git a/kfet/open/routing.py b/kfet/open/routing.py index 6b10b4ec..9d205638 100644 --- a/kfet/open/routing.py +++ b/kfet/open/routing.py @@ -5,6 +5,6 @@ from .consumers import OpenKfetConsumer OpenRouter = URLRouter( [ - path(r"", OpenKfetConsumer), + path("", OpenKfetConsumer.as_asgi()), ] ) diff --git a/kfet/routing.py b/kfet/routing.py index 492f6e4f..a015eebc 100644 --- a/kfet/routing.py +++ b/kfet/routing.py @@ -7,7 +7,7 @@ from .consumers import KPsul KFRouter = URLRouter( [ - path("k-psul/", KPsul), + path("k-psul/", KPsul.as_asgi()), path("open", OpenRouter), ] ) diff --git a/requirements-prod.txt b/requirements-prod.txt index 2f6c556b..ffd21935 100644 --- a/requirements-prod.txt +++ b/requirements-prod.txt @@ -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 diff --git a/requirements.txt b/requirements.txt index b538a1ee..80e5a95d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ Django==3.2.* Pillow==7.2.0 authens==0.1b4 -channels==2.4.* +channels==3.0.* configparser==3.5.0 django-autocomplete-light==3.9.* django-bootstrap-form==3.3