#25213 closed Cleanup/optimization (fixed)
Discourage use of QuerySet.extra()
Reported by: | Tim Graham | Owned by: | Tim Graham |
---|---|---|---|
Component: | Documentation | Version: | 1.8 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
from Anssi on django-developers:
You can annotate raw SQL with expressions. I think the only case that can't be done with expressions is addition of extra tables to the query. I am certain we will get a solution to this too in future releases.
Note:
See TracTickets
for help on using tickets.
PR