Release: django-treebeard 1.61

django-treebeard 1.61 has been released (CHANGES).

It’s in pypi so you can install it with pip or easy_install.

You can get the code in the Mercurial repo. There is also a well maintained Git mirror.

Please report bugs in the bug tracker.

Share and enjoy.

Posted in django, general, programming, python | Tagged , | Leave a comment

Release: django-treebeard 1.60

django-treebeard 1.60 has been released (CHANGES).

It’s in pypi so you can install it with pip or easy_install.

The documentation was also updated, using the graphviz extension for sphinx to generate pretty trees ;)

You can get the code in the Mercurial repo. There is also a well maintained Git mirror.

Please report bugs in the bug tracker.

Update: Re-uploaded 1.6 as 1.60.

Share and enjoy.

Posted in django, general, programming, python | Tagged , | 1 Comment

Release: django-treebeard 1.0

django-treebeard 1.0 has been released.

Direct link: django-treebeard-1.1.tar.gz (don’t forget to read the UPDATING file).

I will be focusing now in another project: django-taggable, so stay tuned.

Share and enjoy.

Posted in django | Tagged , | Leave a comment

Release: django-treebeard

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 (see Benchmarks) 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:

  1. Download a release from the treebeard download page or get a development version from the treebeard subversion repository.
  2. Run python setup.py install
  3. Add ‘treebeard’ to the INSTALLED_APPS section in your django settings file.
  4. 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).
  5. Run python manage.py syncdb
documentation: treebeard-docs
examples: treebeard-examples (source)
tests: treebeard-tests
benchmarks: treebeard-benchmarks

Share and Enjoy.

Posted in django | Tagged , | 5 Comments