Contradiction in updating-multiple-objects-at-once doc?
|Reported by:||gluckj||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I was reading http://docs.djangoproject.com/en/dev/topics/db/queries/#updating-multiple-objects-at-once just now.
It first says:
"You can only set non-relation fields and ForeignKey fields using this method, and the value you set the field to must be a hard-coded Python value (i.e., you can't set a field to be equal to some other field at the moment)."
But later says:
"Calls to update can also use F() objects to update one field based on the value of another field in the model."
Is this a contradiction?
(Thanks, BTW, for your awesome documentation -- I'm really enjoying it!)