Show More
@@ -172,12 +172,15 b' class NotebookWebApplication(web.Application):' | |||
|
172 | 172 | # IPython stuff |
|
173 | 173 | mathjax_url=ipython_app.mathjax_url, |
|
174 | 174 | config=ipython_app.config, |
|
175 |
use_less=ipython_app.use_less |
|
|
176 | jinja2_env=Environment(loader=FileSystemLoader(template_path)), | |
|
175 | use_less=ipython_app.use_less | |
|
177 | 176 | ) |
|
178 | 177 | |
|
179 | 178 | # allow custom overrides for the tornado web app. |
|
180 | 179 | settings.update(settings_overrides) |
|
180 | ||
|
181 | # create a jinja2 environment using the template path and store it in settings | |
|
182 | settings.jinja2_env=Environment(loader=FileSystemLoader(settings.template_path)) | |
|
183 | ||
|
181 | 184 | return settings |
|
182 | 185 | |
|
183 | 186 | def init_handlers(self, settings): |
General Comments 0
You need to be logged in to leave comments.
Login now