| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-03-21 | Refs #36883 -- Split monolithic aggregation/lookup/queries tests. | Tim Graham | |
| 2025-12-24 | Refs #36787 -- Fixed lookup test crash on Oracle. | Mariusz Felisiak | |
| 2025-12-22 | Fixed #36787 -- Fixed crash in In lookups with mixed expressions and strings. | JaeHyuck Sa | |
| Signed-off-by: JaeHyuck Sa <wogur981208@gmail.com> | |||
| 2025-09-30 | Fixed #36614 -- Deprecated QuerySet.values_list(flat=True) without a field. | Adam Johnson | |
| Thanks to Jacob Walls and Simon Charette for their input. co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | |||
| 2025-09-25 | Fixed #36605 -- Added support for QuerySet.in_bulk() after .values() or ↵ | John Parton | |
| .values_list(). co-authored-by: Adam Johnson <me@adamj.eu> co-authored-by: Simon Charette <charette.s@gmail.com> | |||
| 2025-09-16 | Refs #36606 -- Added tests for QuerySet.values_list(flat=True) without fields. | Adam Johnson | |
| 2025-08-27 | Fixed incorrect IDs in test_in_bulk_preserve_ordering. | Tim Graham | |
| 2025-08-21 | Refs #36430, #36416, #34378 -- Simplified batch size calculation in ↵ | Jacob Walls | |
| QuerySet.in_bulk(). | |||
| 2025-07-23 | Refs #36500 -- Rewrapped long docstrings and block comments via a script. | django-bot | |
| Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505. | |||
| 2025-07-23 | Refs #36500 -- Shortened some long docstrings and comments. | Mike Edmunds | |
| Manually reformatted some long docstrings and comments that would be damaged by the to-be-applied autofixer script, in cases where editorial judgment seemed necessary for style or wording changes. | |||
| 2025-06-09 | Refs #34378, #36143, #36416 -- Fixed isolation of ↵ | Jacob Walls | |
| LookupTests.test_in_bulk_preserve_ordering_with_batch_size(). `max_query_params` is a property, so it must be patched on the class. | |||
| 2025-02-11 | Fixed #36149 -- Allowed subquery values against tuple exact and in lookups. | Simon Charette | |
| Non-tuple exact and in lookups have specialized logic for subqueries that can be adapted to properly assign select mask if unspecified and ensure the number of involved members are matching on both side of the operator. | |||
| 2024-09-11 | Fixed #35752 -- Fixed crash when using In() lookup in filters. | Bendeguz Csirmaz | |
| 2024-09-02 | Fixed #35690 -- Errored nicely when using in_bulk() with a values() or ↵ | John Parton | |
| values_list() queryset. | |||
| 2024-07-09 | Fixed #35413 -- Made unsupported lookup error message more specific. | wookkl | |
| 2024-03-13 | Refs #32673, Refs #35295 -- Avoided wrapping rhs direct values in lookups. | Mariusz Felisiak | |
| 2023-12-12 | Fixed #35018 -- Fixed migrations crash on GeneratedField with BooleanField ↵ | Mariusz Felisiak | |
| as output_field on Oracle < 23c. Thanks Václav Řehák for the report. Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95. | |||
| 2023-09-22 | Fixed #34840 -- Avoided casting string base fields on PostgreSQL. | Mariusz Felisiak | |
| Thanks Alex Vandiver for the report. Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca. | |||
| 2023-06-06 | Fixed lookup.tests.LookupTests.test_exclude() on PostgreSQL 16 beta 1. | Mariusz Felisiak | |
| Order doesn't matter for this test, and on PostgreSQL 16 "%" is ordered before "_", so switch to sort by "pub_date". | |||
| 2023-05-08 | Fixed #34544 -- Avoided DBMS_LOB.SUBSTR() wrapping with IS NULL condition on ↵ | Mariusz Felisiak | |
| Oracle. Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca. Thanks Michael Smith for the report. This also reverts commit 1e4da439556cdd69eb9f91e07f99cf77997e70d2. | |||
| 2023-04-04 | Fixed #34450 -- Fixed multi-valued JOIN reuse when filtering by expressions. | Simon Charette | |
| Thanks Roman Odaisky for the report. | |||
| 2023-03-28 | Fixed #34443 -- Fixed filtering by transforms on reverse relations. | Mariusz Felisiak | |
| Regression in ce6230aa976e8d963226a3956b45a8919215dbd8. | |||
| 2023-03-28 | Refs #29799 -- Added field instance lookups to suggestions in FieldErrors. | Mariusz Felisiak | |
| Bug in cd1afd553f9c175ebccfc0f50e72b43b9604bd97. | |||
| 2023-03-03 | Fixed #34378 -- Made QuerySet.in_bulk() not clear odering when id_list is ↵ | Ekaterina Vahrusheva | |
| passed. This reverts 340eaded4e30cf25bcd4e9781d33a617fe9c0f84. | |||
| 2022-12-21 | Removed unnecessary commas in tests. | Mariusz Felisiak | |
| 2022-12-16 | Fixed lookup.tests.LookupTests.test_exact_none_transform() test on Oracle. | Mariusz Felisiak | |
| NulledTransform doesn't return TextField anymore so it cannot be wrapped with DBMS_LOB.SUBSTR(). Test regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca. | |||
| 2022-10-08 | Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵ | Gregor Gärtner | |
| assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com> | |||
| 2022-10-07 | Replaced assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() ↵ | Mariusz Felisiak | |
| where appropriate. Follow up to 3f7b3275627385f8f7531fca01cdda50d4ec6b6e. | |||
| 2022-09-22 | Fixed #34015 -- Allowed filtering by transforms on relation fields. | Mariusz Felisiak | |
| 2022-05-19 | Fixed #33705 -- Fixed crash when using IsNull() lookup in filters. | David Wobrock | |
| Thanks Florian Apolloner for the report. Thanks Simon Charette for the review. | |||
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-11-02 | Fixed #32691 -- Made Exact lookup on BooleanFields compare directly to a ↵ | Roman | |
| boolean value on MySQL. Performance regression in 37e6c5b79bd0529a3c85b8c478e4002fd33a2a1d. Thanks Todor Velichkov for the report. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-07-09 | Fixed #27021 -- Allowed lookup expressions in annotations, aggregations, and ↵ | Ian Foote | |
| QuerySet.filter(). Thanks Hannes Ljungberg and Simon Charette for reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-05-24 | Refs #24121 -- Added __repr__() to Lookup. | saeedblanchette | |
| 2021-04-23 | Fixed #32673 -- Fixed lookups crash when comparing against lookups on ↵ | Simon Charette | |
| PostgreSQL. Regression in 3a505c70e7b228bf1212c067a8f38271ca86ce09. Nonlitteral right-hand-sides of lookups need to be wrapped in parentheses to avoid operator precedence ambiguities. Thanks Charles Lirsac for the detailed report. | |||
| 2021-03-10 | Refs #32508 -- Raised TypeError instead of using "assert" on unsupported ↵ | Mariusz Felisiak | |
| operations for sliced querysets. | |||
| 2021-01-14 | Refs #30841 -- Made isnull lookup raise ValueError for non-boolean values. | Mariusz Felisiak | |
| Per deprecation timeline. | |||
| 2020-11-06 | Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly. | Hasan Ramezani | |
| This also replaces assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate. Co-authored-by: Peter Inglesby <peter.inglesby@gmail.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2020-10-28 | Refs #27149 -- Fixed sql.Query identity. | Simon Charette | |
| By making Query subclass BaseExpression in 35431298226165986ad07e91f9d3aca721ff38ec the former defined it's identity based off _construct_args which is not appropriate. | |||
| 2020-08-26 | Fixed #31918 -- Allowed QuerySet.in_bulk() to fetch on a single distinct field. | Kaustubh | |
| 2020-06-11 | Fixed #31667 -- Made __in lookup ignore None values. | Adam Johnson | |
| 2020-04-30 | Removed unused __str__() methods in tests models. | Mariusz Felisiak | |
| Follow up to 6461583b6cc257d25880ef9a9fd7e2125ac53ce1. | |||
| 2020-04-23 | Fixed #31500 -- Fixed detecting of unique fields in QuerySet.in_bulk() when ↵ | Hannes Ljungberg | |
| using Meta.constraints. Detection of unique fields now takes into account non-partial unique constraints. | |||
| 2020-02-04 | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | |
| 2019-10-21 | Fixed #30841 -- Deprecated using non-boolean values for isnull lookup. | André Ericson | |
| 2019-09-20 | Fixed #30771 -- Fixed exact lookup against queries with selected columns. | James Timmins | |
| Use pre-existing select fields (and thereby GROUP BY fields) from subquery if they were specified, instead of always defaulting to pk. Thanks Aur Saraf for the report and Simon Charette for guidance. | |||
| 2019-08-17 | Fixed #29545 -- Fixed using filter lookups againts nested subquery expressions. | Simon Charette | |
| Made sql.Where resolve lhs of its child nodes. This is necessary to allow filter lookups against nested subquery expressions to properly resolve their OuterRefs to Cols. Thanks Oskar Persson for the simplified test case. | |||
| 2019-08-12 | Refs #25367 -- Added test for Exists() lookup rhs. | Simon Charette | |
| 2019-05-21 | Refs #29396, #30494 -- Reduced code duplication in year lookups. | Simon Charette | |
