Why does using db.session.commit() in Flask SQLAlchemy gives me the last user I added when I added two users to the DB?

前端 未结 0 424
别跟我提以往
别跟我提以往 2020-12-06 19:20

I\'m trying to create a database in Flask SQLAlchemy that has two users in the table for login accounts on my flask site. I\'ve imported User DB and set the primary key=True

相关标签:
回答
  • 消灭零回复
提交回复
热议问题