Hi,

I have model defined like this

class Menu(db.Model):
     type = db.StringProperty()  # can we do something like
db.StringProperty(key=True)
     desc = db.StringProperty()

class Item(db.Model):
       desc = db.StringProperty()
       tied = db.ReferenceProperty(Menu, collection_name='item_list')


What should be the entity key and key name for this ?
Ideally menu type should be the key.
Also for my datastore I have key, ID keyname (why so many)

Thanks for your help.

--RJ

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to