cubicweb/pyramid/session.py
changeset 12592 7ccf23523670
parent 12589 85f82900f1c3
equal deleted inserted replaced
12591:f5f83d72ba8d 12592:7ccf23523670
    82 :redis.session.secret: This secret is used to encrypt the session's
    82 :redis.session.secret: This secret is used to encrypt the session's
    83    data ID (data themselved are stored in the backend, database or
    83    data ID (data themselved are stored in the backend, database or
    84    redis) when using redis as backend.
    84    redis) when using redis as backend.
    85 """
    85 """
    86 
    86 
    87 import warnings
       
    88 import logging
    87 import logging
    89 from contextlib import contextmanager
    88 from contextlib import contextmanager
    90 
    89 
    91 from pyramid.compat import pickle
    90 from pyramid.compat import pickle
    92 from pyramid.session import SignedCookieSessionFactory, JSONSerializer, PickleSerializer
    91 from pyramid.session import SignedCookieSessionFactory, JSONSerializer, PickleSerializer