Changes between Initial Version and Version 1 of Ticket #33975, comment 7
- Timestamp:
- Sep 3, 2022, 12:30:19 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33975, comment 7
initial v1 1 1 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? 2 ** 3 Edit:** 4 Replacing Query_has_select_fields with attribute and having set_values set it to true passes tests for annotations but giving 2 Failures on overall tests .Failures are: 5 6 FAIL: test_in_subquery (queries.tests.ToFieldTests) 7 8 AssertionError: Items in the second set but not the first: 9 <Eaten: apple at lunch> 10 11 12 FAIL: test_nested_in_subquery (queries.tests.ToFieldTests) 13 14 AssertionError: Sequences differ: <QuerySet []> != [<ReportComment: ReportComment object (1)>] 15 Second sequence contains 1 additional elements. 16 First extra element 0: 17 <ReportComment: ReportComment object (1)>