From f1883f7010ded88e06635bc2ec301d129a29f4b3 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Thu, 11 Mar 2021 21:57:21 +0100 Subject: [PATCH] Fix connect websockets --- django-launcher.dev.sh | 2 +- requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/django-launcher.dev.sh b/django-launcher.dev.sh index ef8946b..a1a9374 100644 --- a/django-launcher.dev.sh +++ b/django-launcher.dev.sh @@ -11,4 +11,4 @@ python3 manage.py migrate # Start server echo "Starting server" -uvicorn --host 0.0.0.0 --port 8000 --reload my_demo.asgi:application +uvicorn --host 0.0.0.0 --port 8000 --reload --debug --ws websockets my_demo.asgi:application diff --git a/requirements.txt b/requirements.txt index 18dfc9a..1b78495 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,7 @@ django # ASGI server uvicorn +websockets # Connect PostgreSQL psycopg2-binary # Channels