mirror of https://github.com/mitsuhiko/flask.git
Armin Ronacher
12 years ago
2 changed files with 3 additions and 19 deletions
@ -1,19 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
""" |
|
||||||
flask.session |
|
||||||
~~~~~~~~~~~~~ |
|
||||||
|
|
||||||
This module used to flask with the session global so we moved it |
|
||||||
over to flask.sessions |
|
||||||
|
|
||||||
:copyright: (c) 2011 by Armin Ronacher. |
|
||||||
:license: BSD, see LICENSE for more details. |
|
||||||
""" |
|
||||||
|
|
||||||
from warnings import warn |
|
||||||
warn(DeprecationWarning('please use flask.sessions instead')) |
|
||||||
|
|
||||||
from .sessions import SecureCookieSession, NullSession |
|
||||||
|
|
||||||
Session = SecureCookieSession |
|
||||||
_NullSession = NullSession |
|
Loading…
Reference in new issue