you can only use fields that are in know in the kind used in the query. Here the kind is MyModel.
2008/10/16 Микола <[EMAIL PROTECTED]>: > > Hi. I want do something like this: > query = MyModel.all() > query.filter('field1 =', 'value1') > query.order('-parent.parent_field') > > But when i do so i get "PropertyError: Invalid property name > 'parent'." How can i access parent fields in query. > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---