Efficient Materialized Path tree implementation for Django 1.0+
Django-treebeard is a library that implements efficient tree implementations for the Django Web Framework 1.0+.
It includes 3 different tree implementations: Adjacency List, Materialized Path and Nested Sets. Each one has
it's own strength and weaknesses but share the same API, so it's easy to switch between implementations.
Django-treebeard uses Django Model Inheritance with abstract classes to let you define your own models.
To use django-treebeard:
- Download a release from the treebeard download page or get a development version from the treebeard mercurial repository;
- Run python setup.py install;
- Add 'treebeard' to the INSTALLED_APPS section in your django settings file;
- Create a new model that inherits from one of django-treebeard's abstract tree models: mp_tree.MP_Node (materialized path), ns_tree.NS_Node (nested sets) or al_tree.AL_Node (adjacency list);
- Run python manage.py syncdb.
Author:
--------
Gustavo Picon
- Devel package for openSUSE:Factory
- Links to openSUSE:Factory / python-django-treebeard
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:python:django/python-django-treebeard && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
django-treebeard-4.3.1.tar.gz | 0000311071 304 KB | |
merged_50489e63.patch | 0000002048 2 KB | |
merged_56121dca.patch | 0000001250 1.22 KB | |
merged_d6f117f0.patch | 0000011464 11.2 KB | |
python-django-treebeard.changes | 0000002688 2.63 KB | |
python-django-treebeard.spec | 0000002569 2.51 KB |
Revision 1 (latest revision is 9)
from :misc, 6k/d ; dependency of django-oscar
Comments 0