运行flask项目出现报障:AttributeError: type object 'SQLAlchemy' has no attribute 'Model'
检查多处无果,网上搜索报障信息后获取解决途径:检查db = SQLAlchemy,修正:db = SQLAlchemy()。
运行flask项目出现报障:AttributeError: type object 'SQLAlchemy' has no attribute 'Model'
检查多处无果,网上搜索报障信息后获取解决途径:检查db = SQLAlchemy,修正:db = SQLAlchemy()。