Django-MPTT is a reusable Django app which aims to make it easy for you to use MPTT with your Django models. The MPTT (Modified Preorder Tree Traversal) technique is used for storing hierarchical data in a database. Django-MPTT makes the retrieval operations of your structural data very efficient. The tradeoff for such a tree structure is the time to perform inserts increases. There is also a need to keep the tree in a good state at all times, all of which requires a little bit of extra work, but is really easy to handle with the tools included in the Django-MPTT package.
New Django-MPTT TutorialsView all
How to Rebuild Django-MPTT Tree Structure
Most application utilize some sort of tree structure to managing data, in one form or another. One common use-case is nested categories. If you are using Django for your current project and are in need to implement tree structures, there is a big change you have come across Django-MPT0