The authors of django-treenode describe it as "probably the best
abstract model / admin for your tree based stuff".
Features:
- Fast - get ancestors, children, descendants, parent, root, siblings, tree
with no queries
- Synced - in-memory model instances are automatically updated
- Compatibility - you can easily add treenode to existing projects
- No dependencies
- Easy configuration - just extend the abstract model / model-admin
- Admin integration - great tree visualization: accordion, breadcrumbs or
indentation
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-django-treenode listed in the above command, you can pick from the names under the Packages section.
port moved here from www/py-dj52-django-treenode on 2026-05-28 REASON: Renamed after all Django consumers were switched from Django 4.2 to Django 5.2 to have a consistent naming scheme
deskutils/py-paperless-ngx: Move away from py-dj52-* ports
* The counterparts of the py-dj52-* ports were switched to Django 5.2
in ce59801b72ef, thus move py-paperless-ngx to those ones.
* Rename py-dj52-django-treenode to py-django-treenode, since there's
no equivalent for it yet.
* Bump PORTREVISION due changed dependencies.
PR: 291707
Approved by: grembo (maintainer, via private mail)