Django 1.6 Transaction Management on large list of Model Objects
问题 Long question short : If I would need to loop through list of Model Objects, and save them individually, I am unsure how to go about that. To understand this correctly, Assuming, my Model Name = Foo example : Model Object : f1 = Foo 1 { name : foo, alias : Fooo 1, description : Fooo 1 } f2 = Foo 2 { name : foo_2, alias : Fooo, description : Fooo 2 } f3 = Foo 3 { name : foo_3, alias : Fooo 3, description : Fooo } Now what I would like to do is change : name for (Foo 1) alias for (Foo 2)