Use the pyramid session object as the cubiweb session.data (needs a patched cw 3.19)
authorChristophe de Vienne <christophe@unlish.com>
Tue, 15 Jul 2014 18:25:48 +0200
changeset 11489 433fd3af7386
parent 11488 baa0988a6029
child 11490 addf68740dbb
Use the pyramid session object as the cubiweb session.data (needs a patched cw 3.19) Related to #4291173
pyramid_cubicweb/__init__.py
--- a/pyramid_cubicweb/__init__.py	Tue Jul 15 18:13:57 2014 +0200
+++ b/pyramid_cubicweb/__init__.py	Tue Jul 15 18:25:48 2014 +0200
@@ -175,7 +175,7 @@
 
     # XXX Ideally we store the cw session data in the pyramid session.
     # BUT some data in the cw session data dictionnary makes pyramid fail.
-    #session.data = request.session
+    session.data = request.session
 
     return session