Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 19 lines (14 sloc) 0.462 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# -*- 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
Something went wrong with that request. Please try again.