I'm looking for ideas for the best way to get the value of the back-
reference property for an Entity to output when using the Entity.to_xml
() function?

Here is my Model Class:

class Tag(db.Model):
        uri = db.StringProperty(required=True)
        label = db.StringProperty(required=True)
        parent_ = db.SelfReferenceProperty(collection_name="child")
        summary = db.StringProperty(multiline=True)
        content = db.TextProperty()

When I reference an Entity of this Kind - where I know there is a
value for "child" - there is nothing in the Entity.to_xml() output to
indicate this. All I really need is the "key" value from the "child"
back-reference.

Ideas?
--~--~---------~--~----~------------~-------~--~----~
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