Use expressions in ORM internals
We should use expressions instead of tuples of form (alias, column, field) when calculating the select, order_by and group by clauses of the ORM. The WHERE clause already uses lookups, and joins were made to use Join classes. This would finalize usage of expression like objects throughout the query compiling process.
Change History
(6)
| Keywords: |
1.8-alpha added
|
| Owner: |
changed from nobody to Anssi Kääriäinen
|
| Status: |
new → assigned
|
| Patch needs improvement: |
unset
|
| Triage Stage: |
Accepted → Ready for checkin
|
| Resolution: |
→ fixed
|
| Status: |
assigned → closed
|
The implementation in pull request 3669 will also change the way select_related is handled in the ORM. This should fix at least tickets #21204 and #23270. There are likely other older tickets which should be fixed, too.