flask/flask/session.py

20 lines
462 B
Python
Raw Normal View History

# -*- 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
2011-09-01 16:57:00 +02:00
:copyright: (c) 2011 by Armin Ronacher.
: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
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