Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
SessionInterface for mongoengine

src/f/l/flask-mongoengine-HEAD/tests/test_session.py   flask-mongoengine(Download)
 
from flask import session
from flask.ext.mongoengine import MongoEngine, MongoEngineSessionInterface
 
 
        app.config['TESTING'] = True
        db = MongoEngine(app)
        app.session_interface = MongoEngineSessionInterface(db)
 
        @app.route('/')