My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 58: insert_at() returns nothing
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Sep 2010


 
Reported by aap...@gmail.com, Jul 31, 2009
The documentation http://www.jonathanbuchanan.plus.com/mptt/models.html says:

-------------------------------------
insert_at(target, position='first-child', commit=False) -- positions the model instance (which 
must not yet have been inserted into the database) in the tree based on target and position 
(when appropriate).

If commit is True, the model instance's save() method will be called before the instance is 
returned.
-------------------------------------

But method insert_at() in mptt.models returns nothing (return keyword is missing from threre).

I'm using the latest mptt revision from trunk.


Powered by Google Project Hosting