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)
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)
def make_wsgi(profile='Default'): app = WSGIApp(settingsmod, profile) app = full_wsgi_stack(app) return app
def make_wsgi(profile='Dev'): app = WSGIApp(settingsmod, profile) app = SQLAlchemyApp(app) return full_wsgi_stack(app)
def make_wsgi(profile='Default'): app = WSGIApp(settingsmod, profile) # wrap our app in middleware and return return full_wsgi_stack(app)
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)