django-mptt/django-mptt — Issue #143: get_desendents return in incorrectly order. 
Author: dhl419
Created: 2011-10-19 02:06:54+00:00
State: open

I modified auth.Group to enable tree structure according to mptt document.

# add a parent foreign key
TreeForeignKey(Group, blank=True, null=True).contribute_to_class(Group, 'parent')
mptt.register(Group, order_insertion_by=['name'])

Then i inserted some nodes and display in django admin.
The tree structure is :
A
--A1
--A2
--A3
B
--B1

But it display as
A
--A1
--A2
B
--A3
--B1

I uses 5.0 pre.