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 46: Defer update of mptt fields (left/right/tree/level) until a batch of changes have been made
3 people starred this issue and may be notified of changes. Back to list
Status:  Chatting
Owner:  ----


 
Reported by AndrewOf...@gmail.com, Feb 25, 2009
I'm using django-mptt to manage the hierarchy of an ecommerce site with a 
lot of products.

We regularly sync large batches of products from another systems to the web 
database and these syncs can include a lot of changes to the category tree.

What would be good is if there was a way to add/update/delete the tree 
without modifying the mptt fields then to do all the mptt changes once at 
the end.

Would the easiest way to just use the default manager to add new nodes, 
then to rebuild the tree using the custom method? It would be nice if there 
was a standard way of doing this.
Sep 2, 2010
Project Member #1 craig.ds@gmail.com
Is there still interest in this? It's been a while.

We now have model.tree.rebuild(), so we're part of the way there.
Status: Chatting
Sep 20, 2010
Project Member #2 craig.ds@gmail.com
 Issue 29  has been merged into this issue.

Powered by Google Project Hosting