Add teardown_request decorator. Fixes issue #174

This commit is contained in:
Matt Chisholm 2011-03-14 13:00:34 -04:00 committed by Armin Ronacher
parent 3deae1bd48
commit 04e70bd5c7
4 changed files with 136 additions and 4 deletions

View file

@ -37,6 +37,8 @@ Release date to be announced, codename to be selected
was incorrectly introduced in 0.6.
- Added `create_jinja_loader` to override the loader creation process.
- Implemented a silent flag for `config.from_pyfile`.
- Added `teardown_request` decorator, for functions that should run at the end
of a request regardless of whether an exception occurred.
Version 0.6.1
-------------