Flask-Blog-Tutorial icon indicating copy to clipboard operation
Flask-Blog-Tutorial copied to clipboard

Warning when running.

Open TechStudent10 opened this issue 4 years ago • 2 comments

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 '

TechStudent10 avatar Jul 22 '21 22:07 TechStudent10

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 avatar Sep 24 '21 03:09 codePerfect7

@codePerfect7 I know. That's why I linked a pull request to it.

TechStudent10 avatar Sep 24 '21 20:09 TechStudent10