In InvoiceDetails add this:

  invoice = db.ReferenceProperty(Invoice, collection_name='invoice-
invoicedetails')

For more details see this video and/or slides with full code examples:
http://sites.google.com/site/io/working-with-google-app-engine-models

The one thing I haven't seen discussed though is that you cannot do an
order-by on fields from both tables.

Neal Walters

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