views:

143

answers:

0

In django-mptt full_tree_for_model returns full tree and using drilldown_tree_for_node I can get tree without siblings.

How to include siblings?

lets say i have:

a1
-b1
--c1
-b2
-b3
--c3

I want to generate from a1 node:

a1
-b1
-b2
-b3

from b1:

a1
-b1
--c1
-b2
-b3

from b2:

a1
-b1
-b2
-b3

and so on...