Hi

When I save a model with (key_name=...) value, the key does not seem
to have an id.

Eg.

Mode1(key_name='xxx').put()

obj.key().id() - None

Model2()

obj2.key().id() - 1

Is this intented?

Can I have both key_name and id in a mode?

-- 
Ritesh
http://www.riteshn.com

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

Reply via email to