Browse Source

Backwards compatibility import

pull/271/merge
Armin Ronacher 14 years ago
parent
commit
f29ec355e9
  1. 10
      docs/upgrading.rst
  2. 3
      flask/__init__.py

10
docs/upgrading.rst

@ -19,6 +19,16 @@ installation, make sure to pass it the ``-U`` parameter::
$ 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
-----------

3
flask/__init__.py

@ -35,3 +35,6 @@ from .signals import signals_available, template_rendered, request_started, \
# only import json if it's available
if json_available:
from .helpers import json
# backwards compat, goes away in 1.0
from .sessions import SecureCookieSession as Session

Loading…
Cancel
Save