Matthias, hello.

On Wednesday, 7 February 2018 16:59:54 UTC, Matthias Bussonnier wrote:
>
> Hello Norman,
>
> JupyterHub seem to take a `c.JupyterHub.template_paths` config options to 
> configure where templates are searched. If your configuration is a .py file 
> you should be apple to use `.append()` /`.prepend()` to add search path. 
> Then you can provide your own templates for 500 errors (which I believe is 
> error.html).  
>

That's very useful -- thanks.

I think I'd like to be able to insert a handler for that error a little 
further down, so I could check for likely problems and give more specific 
advice to a user, but I don't want to start hacking away at internals if 
that sort of plugin/overriding isn't supported.

Customising that error file will get me at least half way to where I want 
to be.

Best wishes,

Norman

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/cd8e5530-c284-434a-93c1-3f9e7e2e9c60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to