google app engine - how can i add multiple references to a blob object in a ndb model for gae -


how can add multiple references blob object in ndb model gae

following not work.

blob_keys = blobstore.blobreferenceproperty(repeated=true) 

typeerror: init() got unexpected keyword argument 'repeated'

this not work

blob_keys= ndb.listproperty(blobstore.blobkey)

if you're using ndb, should using ndb version of blobstore reference.

blob_keys = ndb.blobkeyproperty(repeated=true) 

listproperty isn't ndb either. make sure you're looking @ correct documentation. https://developers.google.com/appengine/docs/python/ndb/properties#types


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -