tabo / django-treebeard
Efficient tree implementations for Django 1.0+ :: https://tabo.pe/projects/django-treebeard/
Patch Queues
def get_root_nodes(cls): return cls.objects.filter(lft=1) ------------------------- This code can return any order of records. But this: ------------------------- def get_last_root_node(cls): ... return cls.get_root_nodes().reverse()[0] ------------------------- assumes correct order of nodes. Please add .order_by('tree_id') to get_root_nodes. Thanks, Maxim
Clone URL : https://bitbucket.org/themax.ru/fix-ns_tree-add_root (1.3 KB)
Forks
#19
Clone URL : https://bitbucket.org/chembervint/django-treebeard-i18n (507.3 KB)
django-treebeard with new MP implementation
Clone URL : https://bitbucket.org/maratfm/django-treebeard (524.1 KB)
Trying out the builder interface for tree creation
Clone URL : https://bitbucket.org/sardarnl/django-treebeard (523.9 KB)
