django-tree icon indicating copy to clipboard operation
django-tree copied to clipboard

Comparison with django-treenode?

Open jacobjove opened this issue 2 years ago • 1 comments

I would be interested to see django-treenode included in the benchmarks. It is described as "probably the best abstract model/admin for your tree based stuff" and appears to be the most actively developed/maintained package for hierarchical data models.

jacobjove avatar Nov 27 '23 15:11 jacobjove

I didn't know this library. If someone wants to do it, happy to have it in our docs :wink: I might do it one day, but… Don't really have a lot of time/resources for open source, nowadays :confused:

Apart from that, it's a bit sad to see that it uses the same Python-based approach than django-treebeard & django-mptt. So I guess broken trees every time we use bulk_create, bulk_update, raw SQL + multiprocessing issues. But what's great to see is that it contains a tn_parent foreign key and tn_order integer, meaning that a broken tree can be rebuilt without data loss :slightly_smiling_face: Something that is not always possible with django-treebeard Materialized Path :grimacing:

BertrandBordage avatar Nov 27 '23 16:11 BertrandBordage