django-treebeard
django-treebeard is a library that implements efficient tree
implementations for the Django Web Framework 2.2 and later.
It is written by Gustavo Picón and licensed under the Apache License
2.0.
Status
Features
django-treebeard is:
- Flexible: Includes 3 different tree implementations with the
same API:
- Adjacency List
- Materialized Path
- Nested Sets
- Fast: Optimized non-naive tree operations
- Easy: Uses Django Model Inheritance with abstract classes to
define your own models.
- Clean: Testable and well tested code base. Code/branch test
coverage is above 96%.
You can find the documentation in
http://django-treebeard.readthedocs.io/en/latest/
Supported versions
django-treebeard officially supports
- Django 3.2, 4.1, 4.2
- Python 3.8 - 3.11
- PostgreSQL, MySQL, MSSQL, SQLite database back-ends.