Move SQLALCHEMY_ECHO to right place.
This commit is contained in:
1 parent
4d88fef98f
commit
c4302e9b13
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user