Closed sohambhardwaj closed 2 years ago
So the application is asgi:application
no?
I am so sorry dude. Closing this.
Sorry to bring this up again, I haven't connected the dots yet. Where is the asgi:application
supposed to go?
Does this not work: daphne -b 0.0.0.0 -p 8000 djangoProject.asgi:application
?
i.e. It's the application
variable inside the djangoProject/asgi.py
file that is the ASGI application that Daphne needs to run.
got it, thanks!
My django-channels app works fine using manage.py runserver but when I am trying to run through daphne it is showing me the following error on running
daphne -b 0.0.0.0 -p 8000 djangoProject.asgi:stream
Here is my asgi.py
Here is the stream.routing:
Settings.py relevent code