我有属性模型,包含一个字段image_url。
class Property(ndb.Model):
date_created=data.UTCDateTimeProperty(auto_now_add=True)
# some other fields here
image_url = ndb.StringProperty(indexed=False)以及图像模型,
class Image(ndb.Model):
property = ndb.KeyProperty()
file = ndb.KeyProperty(indexed=False)
# some other fields
image_url = ndb.StringProperty(indexed=False)现在,我对本地机器中的每个属性都有n个图像。每个图像的名称映射到csv文件中相应的属性id。我想把所有这些图片从我的本地机器大容量上传到谷歌应用程序引擎,数据存储或bulk商店。我试图谷歌上,但觉得我是卡住了,任何帮助或参考将是非常感谢的。
发布于 2015-03-16 10:55:06
https://stackoverflow.com/questions/29074505
复制相似问题