我正在尝试将图像保存到 ImageField
location = Location()
image = Image()
name = urlparse(url).path.split('/')[-1]
image.bild.save(name, File(urllib2.urlopen(url).read(), save=False))
image.von_location = location
image.save()
但我得到
__init__() got an unexpected keyword argument 'save'
为什么是这样?我在这里做错了什么?