Fix connect websockets

This commit is contained in:
Andros Fenollosa 2021-03-11 21:57:21 +01:00
parent c8279efcbf
commit f1883f7010
2 changed files with 2 additions and 1 deletions

View File

@ -11,4 +11,4 @@ python3 manage.py migrate
# Start server # Start server
echo "Starting 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

View File

@ -2,6 +2,7 @@
django django
# ASGI server # ASGI server
uvicorn uvicorn
websockets
# Connect PostgreSQL # Connect PostgreSQL
psycopg2-binary psycopg2-binary
# Channels # Channels