示例#1
0
def make_wsgi(profile='Dev'):
    app = WSGIApp(settingsmod, profile)

    app = SQLAlchemyApp(app)

    # has to happen after the db global gets setup and is needed b/c of our
    # use of @asview
    visitmods('views')

    return full_wsgi_stack(app)
示例#2
0
def make_wsgi(profile='Default'):

    app = WSGIApp(settingsmod, profile)

    # can't run this until after the app is initilized or else the
    # app globals are not setup
    from compstack.sqlalchemy.lib.middleware import SQLAlchemyApp
    app = SQLAlchemyApp(app)

    return full_wsgi_stack(app)
示例#3
0
def make_wsgi(profile='Default'):
    app = WSGIApp(settingsmod, profile)
    app = full_wsgi_stack(app)
    return app
示例#4
0
def make_wsgi(profile='Dev'):
    app = WSGIApp(settingsmod, profile)

    app = SQLAlchemyApp(app)

    return full_wsgi_stack(app)
示例#5
0
def make_wsgi(profile='Default'):
    app = WSGIApp(settingsmod, profile)
    # wrap our app in middleware and return
    return full_wsgi_stack(app)
示例#6
0
def make_wsgi(profile='Default', use_session=True):
    app = WSGIApp(settingsmod, profile)
    if not use_session:
        app.settings.beaker.enabled = False
    return full_wsgi_stack(app)
示例#7
0
def make_wsgi(profile='Dev'):
    app = WSGIApp(settingsmod, profile)

    app = SQLAlchemyApp(app)

    return full_wsgi_stack(app)