commit | e04e32fac9382dc7051ef4361ff770395c7b77ac | [log] [tgz] |
---|---|---|
author | Florent Xicluna <florent.xicluna@gmail.com> | Sun Feb 05 12:14:08 2012 +0100 |
committer | Florent Xicluna <florent.xicluna@gmail.com> | Sun Feb 05 12:14:08 2012 +0100 |
tree | 66c70b5f30de98a2130d1a2285f97c7b38995f3f | |
parent | 99b22854ea6322dbd228e6a7ebfe3285cd68a138 [diff] |
Fix the Mako-like environment.
diff --git a/docs/switching.rst b/docs/switching.rst index ba3cfb1..6d9abb1 100644 --- a/docs/switching.rst +++ b/docs/switching.rst
@@ -213,7 +213,7 @@ .. sourcecode:: python - env = Environment('<%', '%>', '${', '}', '%') + env = Environment('<%', '%>', '${', '}', '<%doc>', '</%doc>', '%', '##') Once the environment is configure like that Jinja2 should be able to interpret a small subset of Mako templates. Jinja2 does not support embedded Python code