Numerous excessive selects in the manipulator
|Reported by:||Owned by:||Adrian Holovaty|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The default ChangeManipulator does a number of selects on the database which I don't want. This enlarges the DB load significantly. How to get rid of that?
The selects I mean are:
- first it gets the original object that it is supposed to work on (even though the generic view it is invoked from does that anyway)
- then it gets a list of objects that this one refers to, for each ForeignKey field (and I don't want that)