summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2019-03-05 21:45:45 +0100
committerHelmut Grohne <helmut@subdivi.de>2019-03-05 21:45:45 +0100
commit3c2d0f0b8855f4f35149c75ba7dff68ca3b66bc9 (patch)
treee5b22e12feec7bdf99094238911dc98743d8dd8e
parenta5b445c9067c598b54818db70ff76eab802b8a2a (diff)
downloadcrossqa-3c2d0f0b8855f4f35149c75ba7dff68ca3b66bc9.tar.gz
webapp: get rid of the annoying sqlalchemy warning
The feature is irrelevant here as the ORM isn't being used.
-rw-r--r--webapp.py1
1 files changed, 1 insertions, 0 deletions
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 = """<!DOCTYPE html>