Skip to content
Myr

typo

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Florent Xicluna · committed by Florent Xicluna · parent e04e32f · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/switching.rst+1 added-1 removed
213 unmodified lines
214.. sourcecode:: python215216 env = Environment('<%', '%>', '${', '}', '<%doc>', '</%doc>', '%', '##')217218Once the environment is configure like that Jinja2 should be able to interpret218Once the environment is configured like that Jinja2 should be able to interpret219a small subset of Mako templates. Jinja2 does not support embedded Python code220so you would have to move that out of the template. The syntax for defs (in221Jinja2 defs are called macros) and template inheritance is different too. The222following Mako template::
20 unmodified lines