Jinja2 template with extension .html on pyramid?
jinja2, pyramid, python
Solution
config.add_renderer('.html', 'pyramid_jinja2.renderer_factory')
Problem
How can I use a jinja2 template with a .html extension in pyramid? For instance, I want the view configuration to look like, ``` @view_config(context=MyModel, renderer='templates/index.html') def home_view(request): ... ``` Is it possible?