Changes between Version 13 and Version 14 of ModifiedPreorderTreeTraversal


Ignore:
Timestamp:
10/31/2007 05:12:23 PM (8 years ago)
Author:
Harry Park <harry.park@…>
Comment:

updated page to point to an example page that does a node lookup.

Legend:

Unmodified
Added
Removed
Modified
  • ModifiedPreorderTreeTraversal

    v13 v14  
    99
    1010In Django 0.96 the code given does not work.
     11
     12The code in the update works with the svn trunk. Here's a [http://code.djangoproject.com/browser/django/trunk/tests/modeltests/generic_relations/models.py?rev=3134 good example] of how to use this type of class. It also gives a good example of how to get the node when you have the content item it belongs to.
    1113
    1214If you hack it to add some functionality, drop me an email (inerte is my gmail.com username). Current version is 0.9, and if it doesn't break anything, as soon as I finish editing the forms that I use to serve as an example, it will be 1.0. And if we depend on any new features, it will probably stay at this version forever :p
Back to Top