我正在使用Peewee的model_form来更新数据库中条目的实例。以下是我的表单,模板和应用程序的代码。出于某种原因,当我提交表单时,我认为我没有收到POST,但是我正在编写我的代码,就像我过去一样没有任何问题。任何帮助,将不胜感激! 布赖恩 forms.py from flask_wtf import FlaskForm
from wtforms import StringField, T
我试图把数据放入烧瓶使用和peewee的数据库,我也遇到了以下错误:peewee.OperationalError: no such table: post 我的models.py文件如下: from peewee import *
import datetime
db = SqliteDatabase('posts.db') #create database to interact wit