Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
florentx committed Feb 5, 2012
1 parent e04e32f commit 21b624b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/switching.rst
Expand Up @@ -215,7 +215,7 @@ Jinja2 to look more like Mako:


env = Environment('<%', '%>', '${', '}', '<%doc>', '</%doc>', '%', '##') env = Environment('<%', '%>', '${', '}', '<%doc>', '</%doc>', '%', '##')


Once the environment is configure like that Jinja2 should be able to interpret Once the environment is configured like that Jinja2 should be able to interpret
a small subset of Mako templates. Jinja2 does not support embedded Python code a small subset of Mako templates. Jinja2 does not support embedded Python code
so you would have to move that out of the template. The syntax for defs (in so you would have to move that out of the template. The syntax for defs (in
Jinja2 defs are called macros) and template inheritance is different too. The Jinja2 defs are called macros) and template inheritance is different too. The
Expand Down

0 comments on commit 21b624b

Please sign in to comment.