In addition, on the page of Creating B instance, its parent A
instance's name should show up too.  How can I implement it?

On Oct 16, 12:42 pm, Christopher Arndt <[EMAIL PROTECTED]> wrote:
> 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