Example from
http://code.google.com/appengine/docs/python/datastore/typesandpropertyclasses.html#ReferenceProperty
------------------------------------------------------------
class Author(db.Model):
name = db.StringProperty()
class Story(db.Model):
author = db.ReferenceProperty(Author)
story = db.get(story_key)
author_name = story.author.name
author = db.get(author_key)
stories_by_author = author.story_set.get()
------------------------------------------------------------
stories_by_author will be empty
However it works correctly on the production GAE.
I am guessing the problem is in the SQLite code.
--
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.