migrate = Migrate(app,db)
- 初始化迁移仓库:flask db init
- 将orm模型生成迁移脚本:flask db migrate
- 运行迁移脚本:flask db upgrade
pip install celery,gevent,redis
- win下使用:
celery -A app.mycelery worker --loglevel=info -P gevent
- Linux下使用:
celery -A app.mycelery worker --loglevel=info
pip install flask-wtf
flask-paginate
网址:https://www.wangeditor.com/
网址:https://highlightjs.org/
pip install flask-jwt-extended
SQLAlchemy-serializer