求大神帮忙:代码如下:
from flask_script import Manager
from flask_migrate import Migrate,MigrateCommand
manager = Manager(app)
migrate = Migrate(app,db)
manager.add_command('db',MigrateCommand)
在DOS命令中:
进入了虚拟环境,并且运行:python manager.py db init 时报错:
没有看出更多的问题。app不加manage和migrate是否能运行?