from flaskwebapp import create_app app = create_app() if __name__ == '__main__': app.run(debug=True)
from flaskwebapp import create_app config_name = 'development' app = create_app(config_name) if __name__ == '__main__': app.run(debug=True)
def create_app(self): return create_app(self)