在Flask中完成CRUD操作
1、需要利用的到库
1 | # python 表单库 |
建立数据模型
1 | class Note(db.Model): |
1、新增数据
1 | # 表单模型结构 需要配合 render_template使用 |
表单html 结构
1 | # base.html 基础外壳 添加一些基础样式 |
1、需要利用的到库
1 | # python 表单库 |
建立数据模型
1 | class Note(db.Model): |
1、新增数据
1 | # 表单模型结构 需要配合 render_template使用 |
表单html 结构
1 | # base.html 基础外壳 添加一些基础样式 |