Add Flask.request_globals_class to customize g.

Requested by toothr on #pocoo.
This commit is contained in:
Ron DuPlain 2012-04-18 20:46:07 -04:00
parent 26da6a5365
commit 33bae1a8dc
4 changed files with 20 additions and 2 deletions

View file

@ -66,6 +66,8 @@ Relase date to be decided, codename to be chosen.
flashing on sessions implementations which use external storage.
- Changed the behavior of tuple return values from functions. They are no
longer arguments to the response object, they now have a defined meaning.
- Added :attr:`flask.Flask.request_globals_class` to allow a specific class to
be used on creation of the :data:`~flask.g` instance of each request.
Version 0.8.1
-------------