Try:

> class Page(SQLObject):
>     parent_page = ForeignKey('Page')
>     child_pages = MultipleJoin('Page', joinColumn="parent_page_id")

Also useful, if page order is important, is adding a orderBy to child_pages.

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

Reply via email to