Im not sure, but thinked this:
class Products(ndb.Model):
item = ndb.PickleProperty()
class Item(object):
def __init__(self,name,price,description):
self.name = name
self.price = price
self.description = description
class SomeHandler(webapp2.RequestHandler):
def get(self):
item1 = Item('Coca',5,'some text')
product = Products(item=item1)
product.put()
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/f07a6be0-00f7-4965-aed0-74ebd7bf2d9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.