Changes between Version 13 and Version 14 of ModifiedPreorderTreeTraversal
- Timestamp:
- Oct 31, 2007, 5:12:23 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ModifiedPreorderTreeTraversal
v13 v14 9 9 10 10 In Django 0.96 the code given does not work. 11 12 The 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. 11 13 12 14 If 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