Issue 40: 'Document' object has no attribute '?'
Status:  Invalid
Owner: ----
Closed:  Jul 2009
Reported by lim...@gmail.com, Jan 9, 2009
The Documentation states that one registers the models with:
> mptt.register(Document, order_insertion_by='title')

this fails for me with a `No Atrribute Error` see output

the fix was to register as follows:
> mptt.register(Document, order_insertion_by=['title']) 

This is because _insertion_target_filters(node, order_insertion_by): is
trying to loop over each element in order_insertion_by. So when a single
string is sent then the out come is each letter of the string.

...
for field in order_insertion_by:
        value = getattr(node, field)
...


Mar 12, 2009
#1 cou...@gmail.com
Same problem, same fix, you need to update the doc
Jul 3, 2009
Project Member #2 jonathan.buchanan
This change is in SVN, with a corresponding change in the SVN documentation
Status: Invalid