Closed
Bug 1157969
Opened 10 years ago
Closed 9 years ago
Use prefetch from Django 1.7
Categories
(Marketplace Graveyard :: Code Quality, enhancement, P3)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: robhudson, Unassigned)
References
Details
(Whiteboard: [ktlo])
We've upgrade to Django 1.7, now we can take advantage of the updated prefetch stuff...
The new Prefetch object allows customizing prefetch operations.
You can specify the QuerySet used to traverse a given relation or customize the storage location of prefetch results.
This enables things like filtering prefetched relations, calling select_related() from a prefetched relation, or prefetching the same relation multiple times with different querysets. See prefetch_related() for more details.
This bug is to investigate and find the places we can use this to help our SQL queries be more optimal.
Updated•10 years ago
|
Priority: -- → P3
Updated•10 years ago
|
Severity: normal → enhancement
Updated•10 years ago
|
Whiteboard: [ktlo]
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•