##// END OF EJS Templates
Backport PR #4035: Fixed custom jinja2 templates being ignored when setting template_path...
MinRK -
Show More
@@ -149,7 +149,7 class NotebookWebApplication(web.Application):
149 149 # Note that the URLs these patterns check against are escaped,
150 150 # and thus guaranteed to be ASCII: 'héllo' is really 'h%C3%A9llo'.
151 151 base_project_url = py3compat.unicode_to_str(base_project_url, 'ascii')
152 template_path = os.path.join(os.path.dirname(__file__), "templates")
152 template_path = settings_overrides.get("template_path", os.path.join(os.path.dirname(__file__), "templates"))
153 153 settings = dict(
154 154 # basics
155 155 base_project_url=base_project_url,
General Comments 0
You need to be logged in to leave comments. Login now