예제 #1
0
def app():
    app = create_app()
    ctx = app.test_request_context()
    ctx.push()
    yield app
    ctx.pop()
예제 #2
0
파일: wsgi.py 프로젝트: MITLibraries/magma
# -*- coding: utf-8 -*-
from magma.app import create_app

application = create_app()