diff options
| author | Chris McDonough <chrism@plope.com> | 2010-11-24 23:07:58 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-11-24 23:07:58 -0500 |
| commit | 81e648ffded9caa9480c0053c11a0bc15afbc39a (patch) | |
| tree | fd028e8c342bcad1a3fec1cf8fa25d0f5d479e44 /docs/narr | |
| parent | b64d22c7e5692e10434eec83f6e2c64a4fed6a9e (diff) | |
| download | pyramid-81e648ffded9caa9480c0053c11a0bc15afbc39a.tar.gz pyramid-81e648ffded9caa9480c0053c11a0bc15afbc39a.tar.bz2 pyramid-81e648ffded9caa9480c0053c11a0bc15afbc39a.zip | |
- New boolean Mako settings variable ``mako.strict_undefined``. See `Mako
Context Variables
<http://www.makotemplates.org/docs/runtime.html#context-variables>`_ for
its meaning.
- Depend on Mako 0.3.6+ (we now require the ``strict_undefined`` feature).
Diffstat (limited to 'docs/narr')
| -rw-r--r-- | docs/narr/environment.rst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/narr/environment.rst b/docs/narr/environment.rst index ecf85e464..c3fe401ec 100644 --- a/docs/narr/environment.rst +++ b/docs/narr/environment.rst @@ -249,6 +249,24 @@ will be placed into the module level preamble of all generated Python modules. | | +-----------------------------+ + +Mako Strict Undefined ++++++++++++++++++++++ + +``true`` or ``false``, representing the "strict undefined" behavior of Mako +(see `Mako Context Variables +<http://www.makotemplates.org/docs/runtime.html#context-variables>`_). By +default, this is ``false``. + ++-----------------------------+ +| Config File Setting Name | ++=============================+ +| ``mako.strict_undefined`` | +| | +| | +| | ++-----------------------------+ + Examples -------- |
