https://github.com/django-treebeard/django-treebeard
Efficient tree implementations for Django
https://github.com/django-treebeard/django-treebeard
django python tree-structure
Last synced: about 1 month ago
JSON representation
Efficient tree implementations for Django
- Host: GitHub
- URL: https://github.com/django-treebeard/django-treebeard
- Owner: django-treebeard
- License: apache-2.0
- Created: 2010-04-09T06:10:02.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2024-09-30T03:47:32.000Z (7 months ago)
- Last Synced: 2024-10-29T15:37:58.885Z (6 months ago)
- Topics: django, python, tree-structure
- Language: Python
- Homepage: http://django-treebeard.readthedocs.io/
- Size: 3.71 MB
- Stars: 1,116
- Watchers: 26
- Forks: 216
- Open Issues: 53
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
- Authors: AUTHORS
Awesome Lists containing this project
README
# 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
[](https://django-treebeard.readthedocs.io/en/latest/?badge=latest)
[]()
[](https://ci.appveyor.com/project/mvantellingen/django-treebeard)
[]()
[](https://pypi.org/project/django-treebeard/)## Features
django-treebeard is:
- **Flexible**: Includes 3 different tree implementations with the
same API:
1. Adjacency List
2. Materialized Path
3. 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
>
### Supported versions
**django-treebeard** officially supports
- Django 3.2, 4.1, 4.2, 5.0
- Python 3.8 - 3.12
- PostgreSQL, MySQL, MSSQL, SQLite database back-ends.