From 21b624b7143d377fce47c232a58a0d2162cf3218 Mon Sep 17 00:00:00 2001 From: Florent Xicluna Date: Sun, 5 Feb 2012 15:03:12 +0100 Subject: [PATCH] typo --- docs/switching.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/switching.rst b/docs/switching.rst index 6d9abb10..a1d7fa7f 100644 --- a/docs/switching.rst +++ b/docs/switching.rst @@ -215,7 +215,7 @@ Jinja2 to look more like Mako: env = Environment('<%', '%>', '${', '}', '<%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 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 -- 2.47.2