Skip to main content

Utilities for implementing Modified Preorder Tree Traversal with Django Models

Project description

Utilities for implementing Modified Preorder Tree Traversal (MPTT) with
your `Django`_ ``Model`` classes and working with trees of ``Model``
instances.

.. _`Django`: http://www.djangoproject.com

Version 0.1 features:

* Simple registration of Model classes for MPTT.
* The tree structure is automatically managed when you create or delete MPTT
Model instances.
* MPTT Model instances gain tree-related methods.
* Automatic reparenting when an item's parent is changed - allows for basic
tree management using the django.contrib.admin application.
* Custom TreeManager provides a tree node movement API.
* A template tag and template filter for working with trees of MPTT Model
instances.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-mptt-0.1.zip (25.5 kB view hashes)

Uploaded Source

Built Distribution

django-mptt-0.1.win32.exe (76.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page