django-treebeard
Efficient tree implementations for Django (by django-treebeard)
django-cte
Common Table Expressions (CTE) for Django (by dimagi)
django-treebeard | django-cte | |
---|---|---|
3 | 2 | |
1,068 | 289 | |
0.9% | 1.0% | |
5.7 | 5.5 | |
3 months ago | 9 days ago | |
Python | Python | |
Apache License 2.0 | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
django-treebeard
Posts with mentions or reviews of django-treebeard.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-07.
-
How am I supposed to run this test?
git clone https://github.com/django-treebeard/django-treebeard.git cd django-treebeard pipenv install pytest pipenv shell TREEBEARD_TEST_ALPHABET=1 py.test -k test_alphabet
-
Setting-up Materialized Path with Django-Treebeard
I found this github thread for #2 and #3 but the code doesn't work.
-
how do you do nested comments??
I use the Materialized Path approach implemented in django-treebeard, works well enough that I haven't looked for something better.
django-cte
Posts with mentions or reviews of django-cte.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-07.
-
Querysets making too many db calls
Another library to consider is Django CTE which makes it easier to do multi-table queries in a single go.
-
how do you do nested comments??
They are pretty neet, tho I myself use django-cte to do such queries.
What are some alternatives?
When comparing django-treebeard and django-cte you can also consider the following projects:
django-rest-framework - Web APIs for Django. 🎸
Wagtail - A Django content management system focused on flexibility and user experience
Zappa - Serverless Python
Django - The Web framework for perfectionists with deadlines.
Saleor - Saleor Core: the high performance, composable, headless commerce API.
ete - Python package for building, comparing, annotating, manipulating and visualising trees. It provides a comprehensive API and a collection of command line tools, including utilities to work with the NCBI taxonomy tree.