diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-03-29 21:08:30 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-03-29 21:08:30 -0400 |
| commit | 6e7ad2da8279152468de43482ac1cf453bc1a2df (patch) | |
| tree | 97f973e7c8229314c54912fab3a97f5166aa9577 /CHANGES | |
| parent | 6fe1a4b73e20cfe21f3f17611c96e3d150e17a99 (diff) | |
| parent | 0c191842df938a295a6850beaa91bd6fcb5d50c5 (diff) | |
| download | external_python_mako-6e7ad2da8279152468de43482ac1cf453bc1a2df.tar.gz external_python_mako-6e7ad2da8279152468de43482ac1cf453bc1a2df.tar.bz2 external_python_mako-6e7ad2da8279152468de43482ac1cf453bc1a2df.zip | |
- merge the mako-loop branch, bump to 0.7
Diffstat (limited to 'CHANGES')
| -rw-r--r-- | CHANGES | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -1,4 +1,19 @@ -0.6.3 +0.7.0 +- [feature] Added new "loop" variable to templates, + is provided within a % for block to provide + info about the loop such as index, first/last, + odd/even, etc. A migration path is also provided + for legacy templates via the "enable_loop" argument + available on Template, TemplateLookup, and <%page>. + Thanks to Ben Trofatter for all + the work on this [ticket:125] + +- [feature] Added a real check for "reserved" + names, that is names which are never pulled + from the context and cannot be passed to + the template.render() method. Current names + are "context", "loop". + - [feature] The html_error_template() will now apply Pygments highlighting to the source code displayed in the traceback, if Pygments |
