AttributeError: 'SQLAlchemy' object has no attribute 'mode

解决方法:

model starts with capital M

class User(db.Model)

posted @ 2020-02-20 20:57  freechen  阅读(2018)  评论(0编辑  收藏  举报