Joost Moesker wrote:
> class Catagory(SQLObject):
>     name = StringCol()
>     parent = ForeignKey('Catagory', default=None, cascade=True)
>     child_catagories = MultipleJoin('Catagory', joinColumn='parent_id')

Just a note, I think the 'cascade' keyword argument is deprecated, it
should work the same without it.  When you said you were "almost" there
-- what else needs to be done?  I'm using the same method as above to
model a tree currently and it's working okay for me.

Reply via email to