
How does {{ timeout|default(0)|json }} work?
// bokeh/bokeh/core/_templates/autoload_nb_js.js:134,135
if (typeof (root._bokeh_timeout) === "undefined" || force === true) {
root._bokeh_timeout = Date.now() + {{ timeout|default(0)|json }};
My guess was that the default(0) sets the default for variable timeout to 0 and the json converts it to string '0'. Not sure why you would do that.
I couldn’t find any default() (in this syntax) and json filter in django template builtins.

