Configuration
Most of the settings were adapted after following the channels tutorial.
Files that play a role in this configuration:
dqmhelper/asgi.py
: Theapplication
variable is edited to include the"websocket"
key.remotescripts/routing.py
: The equivalent ofurls.py
for channels. Routes a URL pattern to aConsumer
(equivalent to a view).