Added template_global, fixes #657

This commit is contained in:
Armin Ronacher 2013-01-27 00:46:19 +00:00
parent 05f162329d
commit 3b393f89f6
4 changed files with 74 additions and 0 deletions

View file

@ -13,6 +13,8 @@ Release date to be decided.
:ref:`upgrading-to-010` for more information.
- Added ``template_test`` methods in addition to the already existing
``template_filter`` method family.
- Added ``template_global`` methods in addition to the already existing
``template_filter`` method family.
- Set the content-length header for x-sendfile.
- ``tojson`` filter now does not escape script blocks in HTML5 parsers.
- Flask will now raise an error if you attempt to register a new function