Flask-Blog-Tutorial
Flask-Blog-Tutorial copied to clipboard
Warning when running.
There is a warning when running and restarting the server.
Warning:
C:\Users\username_that_i_am_not_disclosing\Cloned GIT Stuff\Flask-Blog-Tutorial\venv\lib\site-
packages\flask_sqlalchemy\__init__.py:873: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant
overhead and will be disabled by default in the future. Set it to True or False to suppress this warning.
'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and '
That was just a track modifications warning
While configuring the secret key add this also:
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
This will just supress the warning.
@codePerfect7 I know. That's why I linked a pull request to it.