Commit 78dd546a authored by Cédric Bonhomme's avatar Cédric Bonhomme
parents 2873eac6 7f37b632
......@@ -44,6 +44,8 @@ app.config['SQLALCHEMY_DATABASE_URI'] = conf.SQLALCHEMY_DATABASE_URI
app.config['PUBLIC_PATH'] = conf.PUBLIC_PATH
app.config['JSON_AS_ASCII'] = False
db = SQLAlchemy(app)
# Create the Flask-Restless API manager.
......@@ -71,4 +73,4 @@ def populate_g():
from flask import g
g.db = db
g.app = app
g.babel = babel
\ No newline at end of file
g.babel = babel
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment