flask.g is now on the app context and not the request context
This commit is contained in:
parent
61d43c7f12
commit
1949c4a9ab
9 changed files with 71 additions and 20 deletions
5
CHANGES
5
CHANGES
|
|
@ -34,6 +34,11 @@ Release date to be decided.
|
|||
in less bytes being transmitted over the network. It's disabled by
|
||||
default to not cause confusion with existing libraries that might expect
|
||||
``flask.json.dumps`` to return bytestrings by default.
|
||||
- ``flask.g`` is now stored on the app context instead of the request
|
||||
context.
|
||||
- ``flask.Flask.request_globals_class`` got renamed to
|
||||
``flask.Flask.app_ctx_globals_class`` which is a better name to what it
|
||||
does since 0.10.
|
||||
|
||||
Version 0.9
|
||||
-----------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue