Opened 15 years ago

Closed 15 years ago

#524 closed defect (wontfix)

Numerous excessive selects in the manipulator

Reported by: wojtek3@… Owned by: Adrian Holovaty
Component: Core (Other) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: 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:

  1. 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)
  2. then it gets a list of objects that this one refers to, for each ForeignKey field (and I don't want that)

Change History (1)

comment:1 Changed 15 years ago by Adrian Holovaty

Resolution: wontfix
Severity: majornormal
Status: newclosed

The solution to your problem is: Don't use the generic ChangeManipulators. Feel free to write your own manipulators and views that are trimmed down.

Note: See TracTickets for help on using tickets.
Back to Top