How to add initial values to a table using events like 'after_create' in flask-sqlalchemy?

前端 未结 0 1617
被撕碎了的回忆
被撕碎了的回忆 2021-02-02 11:28

I have several models where I\'d like to store a few values that will remain as is for the lifetime of the application. I want to insert those values as soon as those models are

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