Flask app is not registered with this 'SQLAlchemy' instance.
报错内容 "The current Flask app is not registered with this 'SQLAlchemy' instance. Did you forget to call 'init_app', or did you create multiple 'SQLAlchemy' instances?"
成因
models里面出现了两个
db = SQLAlchemy()

浙公网安备 33010602011771号