☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Is it possible to import a jinja template that is located outside the app directory?

Community Support
roinr
roinr

I’m using a template to render my app and I want to import another template that’s located outside the app directory (provided by another package). Is this possible?

⌁   Link to post
roinr
roinr

Thanks for the reply @Bryan !
Actually, that helped me realize that I can just add the location of the imported template to the searchpath like so:
curdoc().template.environment.loader.searchpath.append("path/to/imported/template")

⌁   Link to post

End of archived discussion · Replies are disabled