AttributeError: 'SQLAlchemy' object has no attribute 'mode

解决方法:

model starts with capital M

class User(db.Model)

猜你喜欢

转载自www.cnblogs.com/free-1124/p/12337425.html