From 13080ad348e14ed934f53d2a0f3ab333ae94b547 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Thu, 16 Jun 2016 23:52:43 +0200 Subject: [PATCH] Add SQLAlchemy configuration to avoid warning. --- accountant/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/accountant/__init__.py b/accountant/__init__.py index 536645c..867655e 100644 --- a/accountant/__init__.py +++ b/accountant/__init__.py @@ -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)