Browse Source

Accepting PR479 for bottle, flask, uwsgi and wsgi changes from Malcom Evershed

[email protected] 12 years ago
parent
commit
724786c3c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      flask/app.py

+ 1 - 1
flask/app.py

@@ -21,7 +21,7 @@ except ImportError:
 # setup
 # setup
 
 
 app = Flask(__name__)
 app = Flask(__name__)
-app.config['SQLALCHEMY_DATABASE_URI'] = mysql_schema + '//benchmarkdbuser:benchmarkdbpass@DBHOSTNAME:3306/hello_world?charset=utf8'
+app.config['SQLALCHEMY_DATABASE_URI'] = mysql_schema + '//benchmarkdbuser:benchmarkdbpass@localhost:3306/hello_world?charset=utf8'
 app.config['JSONIFY_PRETTYPRINT_REGULAR'] = False
 app.config['JSONIFY_PRETTYPRINT_REGULAR'] = False
 db = SQLAlchemy(app)
 db = SQLAlchemy(app)
 dbraw_engine = create_engine(app.config['SQLALCHEMY_DATABASE_URI'])
 dbraw_engine = create_engine(app.config['SQLALCHEMY_DATABASE_URI'])