'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and '

C:\...\lib\site-packages\flask_sqlalchemy\__
init__.py:835: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant over
head and will be disabled by default in the future.  Set it to True or False to suppress t
his warning.
  'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and '
>>>

Modification method:
flask_sqlalchemy package, init_app method under init.py, find (lines 828-830 ) and change None to True

Guess you like

Origin blog.csdn.net/qq_41210783/article/details/105270407