2010-07-04 11:35:20 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
"""
|
|
|
|
|
flask.session
|
|
|
|
|
~~~~~~~~~~~~~
|
|
|
|
|
|
2011-07-07 11:27:22 +02:00
|
|
|
This module used to flask with the session global so we moved it
|
|
|
|
|
over to flask.sessions
|
2010-07-04 11:35:20 +02:00
|
|
|
|
2011-09-01 16:57:00 +02:00
|
|
|
:copyright: (c) 2011 by Armin Ronacher.
|
2010-07-04 11:35:20 +02:00
|
|
|
:license: BSD, see LICENSE for more details.
|
|
|
|
|
"""
|
|
|
|
|
|
2011-07-07 11:27:22 +02:00
|
|
|
from warnings import warn
|
|
|
|
|
warn(DeprecationWarning('please use flask.sessions instead'))
|
2010-07-02 15:10:32 -04:00
|
|
|
|
2011-10-02 01:08:54 +02:00
|
|
|
from .sessions import SecureCookieSession, NullSession
|
2010-07-02 15:10:32 -04:00
|
|
|
|
2011-07-07 11:27:22 +02:00
|
|
|
Session = SecureCookieSession
|
|
|
|
|
_NullSession = NullSession
|