Flask update
This commit is contained in:
Regular → Executable
+2
-2
@@ -6,14 +6,14 @@
|
||||
This module used to flask with the session global so we moved it
|
||||
over to flask.sessions
|
||||
|
||||
:copyright: (c) 2010 by Armin Ronacher.
|
||||
: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 *
|
||||
from .sessions import SecureCookieSession, NullSession
|
||||
|
||||
Session = SecureCookieSession
|
||||
_NullSession = NullSession
|
||||
|
||||
Reference in New Issue
Block a user