diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2011-01-24 00:57:58 +0100 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2011-01-24 00:57:58 +0100 |
commit | dd8afa2204149cf134e4ea30ebe51086e775218f (patch) | |
tree | 89bfe49a6c284459e4e1c269ba61c0fb9717a7a1 /CHANGES | |
parent | bc56cd25c95b8c9d380b9af3726ecf8753764083 (diff) | |
download | jinja2-dd8afa2204149cf134e4ea30ebe51086e775218f.tar.gz |
The sum filter can now sum up attributes
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -24,6 +24,10 @@ Version 2.6 earlier versions after an upgrade of the Python interpreter you don't have to upgrade, it's enough to flush the bytecode cache. This just no longer makes this necessary, Jinja2 will automatically detect these cases now. +- the sum filter can now sum up values by attribute. This is a backwards + incompatible change. The argument to the filter previously was the + optional starting index which defaultes to zero. This now became the + second argument to the function because it's rarely used. Version 2.5.5 ------------- |