Normally one should avoid using ReferenceProperty. Best to build a
key_name from data in the record, or allocate_ids and keep the
allocated ids in the database (in its parent or in the some other
record you're bound to use like the record of user data). Then you can
build the key whenever you need and (importantly) you can build the
key before the record is stored and use that for various purposes
(like parenting) without having to have special cases for when the
record has/hasn't been written yet.

-- 
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