Move SQLALCHEMY_ECHO to right place.
This commit is contained in:
parent
4d88fef98f
commit
c4302e9b13
@ -22,9 +22,9 @@ from flask.ext.assets import Environment
|
||||
# The app
|
||||
app = Flask(__name__, static_folder=None)
|
||||
|
||||
app.config['SQLALCHEMY_ECHO'] = app.debug
|
||||
app.config.from_pyfile('config.cfg')
|
||||
|
||||
app.config['SQLALCHEMY_ECHO'] = app.debug
|
||||
|
||||
db = SQLAlchemy(app)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user