Can Daphne run WSGI?
If that’s the case, that’s fine; you can run Daphne and a WSGI server alongside each other , and only have Daphne serve the requests you need it to (usually WebSocket and long-poll HTTP requests, as these do not fit into the WSGI model).
Read moreHow do I run Django with Daphne?
Running Django in Daphne At its simplest, Daphne needs to be called with the location of a module containing an ASGI application object, followed by what the application is called (separated by a colon) . This will start one process listening on 127.0. 0.1:8000 .
Read more