Code

Opened 9 years ago

Closed 9 years ago

#524 closed defect (wontfix)

Numerous excessive selects in the manipulator

Reported by: wojtek3@… Owned by: adrian
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: UI/UX:

Description

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)

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by adrian

  • Resolution set to wontfix
  • Severity changed from major to normal
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.