#33975: __in doesn't clear selected fields on the RHS when QuerySet.alias() is
used
after annotate().
-------------------------------------+-------------------------------------
Reporter: Gabriel Muj | Owner: Bhuvnesh
Type: | Status: assigned
Cleanup/optimization |
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Bhuvnesh):
hi, I am new to Django contribution, i tried to implement the solution
proposed by simon, replaced the Query.has_select_fields with
has_select_fields attribute with default value False and have set_values
set it to true, but now i am stuck at carrying over the attribute to
Query.clone , can I get a bit more explanation for the same?
--
Ticket URL: <https://code.djangoproject.com/ticket/33975#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070183040738ee-aaae7760-a703-45a5-96fe-dff20d88374c-000000%40eu-central-1.amazonses.com.