Add SQLAlchemy configuration to avoid warning.
This commit is contained in:
parent
c5a73623cf
commit
13080ad348
@ -28,6 +28,7 @@ app.config.from_pyfile('config.cfg')
|
||||
|
||||
app.config['SQLALCHEMY_ECHO'] = app.debug
|
||||
app.config['SQLALCHEMY_COMMIT_ON_TEARDOWN'] = True
|
||||
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True
|
||||
|
||||
# Database initialization.
|
||||
db = SQLAlchemy(app)
|
||||
|
Loading…
Reference in New Issue
Block a user