aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorHuayi Zhang <irachex@gmail.com>2016-11-08 17:20:03 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2016-11-08 17:35:26 -0500
commit45bef5d91ddfb7709438ecf89b78ce295e7d3f90 (patch)
tree801032a70d0c353f89d6e31e42bcde783adcd83d /doc
parenta18728101e696b05853e89d8b2fe1b7e825a9302 (diff)
downloadexternal_python_mako-45bef5d91ddfb7709438ecf89b78ce295e7d3f90.tar.gz
external_python_mako-45bef5d91ddfb7709438ecf89b78ce295e7d3f90.tar.bz2
external_python_mako-45bef5d91ddfb7709438ecf89b78ce295e7d3f90.zip
Add include_error_handler parameter.
This works like error_handler but is specific to a template when included in another using the include tag. Change-Id: Ie5506a8cba42c71519c703eacc82050902b9ceba Pull-request: https://bitbucket.org/zzzeek/mako/pull-requests/22
Diffstat (limited to 'doc')
-rw-r--r--doc/build/changelog.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/build/changelog.rst b/doc/build/changelog.rst
index d01e91d..a1f743d 100644
--- a/doc/build/changelog.rst
+++ b/doc/build/changelog.rst
@@ -8,6 +8,15 @@ Changelog
.. changelog::
:version: 1.0.6
+ .. change::
+ :tags: feature
+
+ Added new parameter :paramref:`.Template.include_error_handler` .
+ This works like :paramref:`.Template.error_handler` but indicates the
+ handler should take place when this template is included within another
+ template via the ``<%include>`` tag. Pull request courtesy
+ Huayi Zhang.
+
.. changelog::
:version: 1.0.5
:released: Wed Nov 2 2016