Starting the server¶
Application provides two managements commands,
That means that asyncio server is started SEPARATELY from the main Django application. You can also supply optional “path/to/cert.pem” to the command to use wss.
What management command do is they simply get the asyncio/uvloop event loop, add handlers for different message types to it and run the loop forever.