Ejemplo n.º 1
0
def load_hook():
    web.ctx.orm = DBSession()
    web.ctx.session = Session.authenticate()