PigletWatcher schrieb:
> I had a model calss A, with one-to-many relationship with another
> model B, now i'm considering displaying all Bs when showing A model on
> the page
> 
> How can I achieve this in TurboGears?

By thinking very hard about the fact that, if you have set up your model
relationships properly, instances of A will have a property which
returns a list of related B instances.

Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to