Clean up django.db.models.query._values()
The django.db.models.query._values()
method looks like it does much more than it should be doing in the frontend query class. We should try to move most of the method into django.db.models.sql.query
so that other backends are able to have a better chance of replacing it's functionality.
It might also be worth seeing how much of the method can be factored with sql.has_results
since they both setup the query in similar ways.
This comment sparked the idea: https://github.com/django/django/pull/4706#issuecomment-105130864
Change History
(7)
Triage Stage: |
Unreviewed → Accepted
|
Owner: |
changed from nobody to MZ
|
Status: |
new → assigned
|
Owner: |
MZ removed
|
Status: |
assigned → new
|
Owner: |
set to Ian Foote
|
Status: |
new → assigned
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
PR