我有一个这样的模型:
class Post(Document):
id = IntField(primary_key=True)
text = StringField()
images = ListField(ImageField())我需要将每个帖子的图像保存在名为images的列表中,如上面的代码所示。但是我不知道如何在ListField中使用ImageField。谷歌搜索并没有带我去任何地方。怎样才能节省呢?
https://stackoverflow.com/questions/63689679
复制相似问题