From 3c2d0f0b8855f4f35149c75ba7dff68ca3b66bc9 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Tue, 5 Mar 2019 21:45:45 +0100 Subject: webapp: get rid of the annoying sqlalchemy warning The feature is irrelevant here as the ORM isn't being used. --- webapp.py | 1 + 1 file changed, 1 insertion(+) (limited to 'webapp.py') diff --git a/webapp.py b/webapp.py index f45c28e..b9558cd 100644 --- a/webapp.py +++ b/webapp.py @@ -15,6 +15,7 @@ import werkzeug app = flask.Flask("crossqa") app.config["SQLALCHEMY_DATABASE_URI"] = 'sqlite:///db' +app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False db = flask_sqlalchemy.SQLAlchemy(app) src_template = """ -- cgit v1.2.3