I think you must set the forced sort to avoid error "ValueError
(cache_tree_children was passed nodes in the wrong order!").
Fix:
...
current_path = []
top_nodes = []
+ queryset = queryset.order_by('tree_id', 'lft')
if queryset:
...
Original issue reported on code.google.com by sirkonst@gmail.com on 14 Dec 2010 at 2:32
Original issue reported on code.google.com by
sirkonst@gmail.com
on 14 Dec 2010 at 2:32