Browse Source

Suppress Flask-SQLAlchemy warnings

Peter Justin 9 years ago
parent
commit
9400dcbbf3
1 changed files with 3 additions and 0 deletions
  1. 3 0
      flaskbb/configs/default.py

+ 3 - 0
flaskbb/configs/default.py

@@ -40,6 +40,9 @@ class DefaultConfig(object):
     SQLALCHEMY_DATABASE_URI = 'sqlite:///' + _basedir + '/' + \
                               'flaskbb.sqlite'
 
+    # This option will be removed as soon as Flask-SQLAlchemy removes it.
+    # At the moment it is just used to suppress the super annoying warning
+    SQLALCHEMY_TRACK_MODIFICATIONS = False
     # This will print all SQL statements
     SQLALCHEMY_ECHO = False