forked from orbit-oss/flask
Backwards compatibility import
This commit is contained in:
parent
10f8dc18b8
commit
f29ec355e9
2 changed files with 13 additions and 0 deletions
|
|
@ -19,6 +19,16 @@ installation, make sure to pass it the ``-U`` parameter::
|
||||||
|
|
||||||
$ easy_install -U Flask
|
$ easy_install -U Flask
|
||||||
|
|
||||||
|
Version 0.8
|
||||||
|
-----------
|
||||||
|
|
||||||
|
Flask introduced a new session interface system. We also noticed that
|
||||||
|
there was a naming collision between `flask.session` the module that
|
||||||
|
implements sessions and :data:`flask.session` which is the global session
|
||||||
|
object. With that introduction we moved the implementation details for
|
||||||
|
the session system into a new module called :mod:`flask.sessions`. If you
|
||||||
|
used the previously undocumented session support we urge you to upgrade.
|
||||||
|
|
||||||
Version 0.7
|
Version 0.7
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -35,3 +35,6 @@ from .signals import signals_available, template_rendered, request_started, \
|
||||||
# only import json if it's available
|
# only import json if it's available
|
||||||
if json_available:
|
if json_available:
|
||||||
from .helpers import json
|
from .helpers import json
|
||||||
|
|
||||||
|
# backwards compat, goes away in 1.0
|
||||||
|
from .sessions import SecureCookieSession as Session
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue