Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/websdk/flask/session.py
diff options
context:
space:
mode:
Diffstat (limited to 'websdk/flask/session.py')
-rw-r--r--websdk/flask/session.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/websdk/flask/session.py b/websdk/flask/session.py
new file mode 100644
index 0000000..4d4d2cd
--- /dev/null
+++ b/websdk/flask/session.py
@@ -0,0 +1,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 *
+
+Session = SecureCookieSession
+_NullSession = NullSession