Changes between Version 7 and Version 8 of ModifiedPreorderTreeTraversal


Ignore:
Timestamp:
May 9, 2007, 1:38:49 PM (18 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ModifiedPreorderTreeTraversal

    v7 v8  
    77
    88[http://www.inerciasensorial.com.br/hacks/mptt-0.9.zip Download the necessary files] from my website. For now, it's just a model and a view (with a single function). I thought about adding a template tag but stick with the do-it-yourself flexibility.
     9
     10In Django 0.96 the code given does not work.  If anyone uses this, an update would be appreciated.
    911
    1012If 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
     
    2325python manage.py install mptt
    2426python manage.py sqlindexes mptt
    25 }}}
    26 
    27 In Django 0.96 I found you have to change to the directory of your project (where manage.py is) and type:
    28 
    29 {{{
    30 python manage.py syncdb
    3127}}}
    3228
Back to Top