SQLAlchemy sessions error

前端 未结 3 937
无人共我
无人共我 2020-12-19 07:47

Background: Flask / Flask-SQLAlchemy / Flask-WTF, using declarative and scoped session

Simple POST operation:

@tas.route(\'/order_add\         


        
3条回答
  •  忘掉有多难
    2020-12-19 08:30

    seems a problem with session mix up, I used it as follows and it works:

    from  import db
    from 

提交回复
热议问题