未设置 SQLALCHEMY_TRACK_MODIFICATIONS出现的bug

python解释器报错:

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 '

解决方法:设置SQLALCHEMY_TRACK_MODIFICATIONS=True即可

 

posted @ 2023-03-28 23:34  陈亦洺  阅读(113)  评论(0编辑  收藏  举报