
Hello,
I’m using the bokeh django-embed example and have a few questions about what these lines are doing / how to access them by url:
document(“shape_viewer”, views.shape_viewer_handler),
document(“sea_surface_with_template”, views.sea_surface_handler_with_template)
versus:
autoload("sea_surface", views.sea_surface_handler)
As best as I can tell, if you make the autoload route, then it uses the autoloadjs consumer to bundle up the bokeh app with autoload.js and then the websocket consumer later serves it to the websocket connection? I’m lost about the DocConsumer though - also, for testing purposes I attempted to remove the:
'websocket': AuthMiddlewareStack(URLRouter(patterns))
from routing.py, however for some reason it expects to find a ‘sea_surface/ws’ route - where is this specified? Is it possible to change it to for instance look for the websocket at ‘sea_surface/wasdf’?
Lastly, and I understand I may have to ask this elsewhere, is it possible to do other things with the websocket connection to a session / can I access it anywhere?
Best,
Ryan

