Sean Brant
unread,Mar 19, 2011, 6:18:12 PM3/19/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-mptt-dev
Say I have this tree:
1
---1.1
---1.2
------1.2.1
2
--2.1
3
---3.1
---3.1
4
Given nodes [1.1, 1.2.1, 2, 3.1, 3.2, 4] how would I get a tree view
like this:
** [x] are node i have, (x) should be filled in.
(1)
---[1.1]
---(1.2)
------[1.2.1]
[2]
(3)
---[3.1]
---[3.2]
[4]
In other words I have some children at various depths based on those
children I'd like to get a tree from parent back down to those
children.
Hope that makes sense. Thanks for any help you might offer.