diff -r 9ab2b4c74baf -r 1a534c596bff mixins.py --- a/mixins.py Thu May 20 20:47:55 2010 +0200 +++ b/mixins.py Thu May 20 20:50:00 2010 +0200 @@ -145,7 +145,7 @@ entities=entities) def children_rql(self): - return self.related_rql(self.tree_attribute, self.children_target) + return self.cw_related_rql(self.tree_attribute, self.children_target) def is_leaf(self): return len(self.children()) == 0