aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-11-17 10:56:27 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-11-17 10:56:27 +0100
commitc83fec52bcc3c62fe9ba1fc2378aebe499a0fdbb (patch)
tree50cf2e737950a9f863e4e5e80985ee1ec4a3602f /bootstrap.py
parentMerge branch 'master' of bitbucket.org:cedricbonhomme/pyaggr3g470r (diff)
downloadnewspipe-c83fec52bcc3c62fe9ba1fc2378aebe499a0fdbb.tar.gz
newspipe-c83fec52bcc3c62fe9ba1fc2378aebe499a0fdbb.tar.bz2
newspipe-c83fec52bcc3c62fe9ba1fc2378aebe499a0fdbb.zip
Disable SQLALCHEMY_TRACK_MODIFICATIONS.
Diffstat (limited to 'bootstrap.py')
-rw-r--r--bootstrap.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap.py b/bootstrap.py
index 9cab7417..6b120be8 100644
--- a/bootstrap.py
+++ b/bootstrap.py
@@ -28,6 +28,7 @@ if os.environ.get('PYAGG_TESTING', False) == 'true':
application.config['TESTING'] = True
else:
application.debug = conf.LOG_LEVEL <= logging.DEBUG
+ application.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True
application.config['SQLALCHEMY_DATABASE_URI'] \
= conf.SQLALCHEMY_DATABASE_URI
bgstack15