小编k3l*_*3lf的帖子

存储django模型中的图像列表

我正在构建一个Django数据模型,我希望能够存储一个ImageFields数组.有可能的?

mainimage = models.ImageField(upload_to='img', null = True)
images = models.??
Run Code Online (Sandbox Code Playgroud)

谢谢.

python arrays django model imagefield

5
推荐指数
1
解决办法
4470
查看次数

标签 统计

arrays ×1

django ×1

imagefield ×1

model ×1

python ×1