[Answer]-Pyramid Chameleon base template orientation


Chameleon and Mako are the two templating languages with support currently bundled within Pyramid. However, Jinja2 is officially supported by the pyramid_jinja2 addon and is easily activated. Jinja2 provides a syntax very similar to Django’s if you do not wish to learn Chameleon.


@view_config(..., renderer='myapp:templates/home.jinja2')
def view(request):
    return {}

Leave a comment