Py学习  »  问与答

求助关于错误The 'image' attribute has no file associated with it.

唐1鸣-weibo • 9 年前 • 3851 次点击  

今天想要在post里加上 image=models.FileField(blank=True) enter image description here

然后进入admin,打开post,点开任意文章 enter image description here

见到此错误, enter image description here

谷歌了很久,说要把参数设为 blank=True,但我已经设置了。求论坛大神帮助

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/1496
 
3851 次点击  
文章 [ 4 ]  |  最新文章 9 年前