Code

Changes between Version 5 and Version 6 of ModifiedPreorderTreeTraversal


Ignore:
Timestamp:
03/21/07 06:20:18 (7 years ago)
Author:
David Blewett <david@…>
Comment:

Adding link to update on the django-users mailing list.

Legend:

Unmodified
Added
Removed
Modified
  • ModifiedPreorderTreeTraversal

    v5 v6  
     1Update: This code has been updated, as described in this message on django-users: 
     2[http://groups.google.com/group/django-users/browse_frm/thread/ad54ef8b858c2d33] 
     3 
    14There's a good article explaining [http://www.sitepoint.com/print/hierarchical-data-database what's Modified Preorder Tree Traversal on SitePoint]. I am not going to explain the whole theory here, just offer some code so you can implement it quickly. 
    25