summaryrefslogtreecommitdiff
path: root/tests/queries/tests.py
AgeCommit message (Expand)Author
2026-04-27Moved QuerySet.extra() assertions to a separate test.Tim Graham
2026-04-02Fixed #20024 -- Fixed handling of __in lookups with None in exclude().Eddy Adegnandjou
2026-03-21Refs #36883 -- Split monolithic aggregation/lookup/queries tests.Tim Graham
2026-03-19Fixed #36795 -- Enforced quoting of all database object names.Simon Charette
2026-03-11Refs #28455 -- Implemented private API methods for preventing QuerySet cloning.Keryn Knight
2026-02-03Fixed CVE-2026-1287 -- Protected against SQL injection in column aliases via ...Jake Howard
2025-11-05Refs CVE-2025-64459 -- Avoided propagating invalid arguments to Q on dictiona...Jacob Walls
2025-10-01Fixed CVE-2025-59681 -- Protected QuerySet.annotate(), alias(), aggregate(), ...Mariusz Felisiak
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-04-11Fixed #36288 -- Addressed improper handling of duplicates in values_list().Simon Charette
2025-02-11Fixed #36149 -- Allowed subquery values against tuple exact and in lookups.Simon Charette
2024-08-26Added supports_select_union skips in queries and aggregation tests.Tim Graham
2024-07-03Fixed #28900 -- Propagated all selected fields to combinator queries.Simon Charette
2024-07-03Refs #28900 -- Made SELECT respect the order specified by values(*selected).Simon Charette
2024-02-07Fixed #35099 -- Prevented mutating queryset when combining with & and | opera...Hisham Mahmood
2023-12-06Refs #34986 -- Avoided implementation-specific unpickleable types.Nick Pope
2023-08-10Fixed non-deterministic order in SubqueryTests.test_slice_subquery_and_query.Mariusz Felisiak
2023-06-14Refs #32143 -- Removed superflous constraints on excluded query.Simon Charette
2023-01-17Refs #31486 -- Removed ability to pass unsaved model instances to related fil...Mariusz Felisiak
2022-12-21Removed unnecessary commas in tests.Mariusz Felisiak
2022-11-07Refs #33374 -- Adjusted full match condition handling.Simon Charette
2022-10-08Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQue...Gregor Gärtner
2022-10-07Replaced assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() wh...Mariusz Felisiak
2022-09-22Refs #34012 -- Added test for ordering by transform of related fields.Mariusz Felisiak
2022-09-22Fixed #34015 -- Allowed filtering by transforms on relation fields.Mariusz Felisiak
2022-08-30Fixed #21204 -- Tracked field deferrals by field instead of models.Simon Charette
2022-07-27Used AND, OR, XOR constants instead of hard-coded values.Nick Pope
2022-04-14Relaxed some query ordering assertions in various tests.Mariusz Felisiak
2022-04-12Fixed #24296 -- Made QuerySet.exists() clear selected columns for not sliced ...mgaligniana
2022-04-12Refs #18414 -- Added tests for selected columns of sliced distinct querysets.mgaligniana
2022-04-11Fixed CVE-2022-28346 -- Protected QuerySet.annotate(), aggregate(), and extra...Mariusz Felisiak
2022-03-04Fixed #29865 -- Added logical XOR support for Q() and querysets.Ryan Heard
2022-02-25Fixed #31486 -- Deprecated passing unsaved objects to related filters.Albert Defler
2022-02-22Removed redundant QuerySet.all() calls in docs and tests.Nick Pope
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-02-03Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak
2021-12-08Fixed #33319 -- Fixed crash when combining with the | operator querysets with...Ömer Faruk Abacı
2021-10-08Refs #25467 -- Added test for excluding one-to-one relation with unsaved obje...Jacob Walls
2021-09-30Fixed #33159 -- Reverted "Fixed #32970 -- Changed WhereNode.clone() to create...Mariusz Felisiak
2021-07-15Refs #32508 -- Raised Type/ValueError instead of using "assert" in django.db....Daniyal
2021-05-13Fixed #32717 -- Fixed filtering of querysets combined with the | operator.Simon Charette
2021-05-04Fixed #32693 -- Quoted and lowercased generated column aliases.Hasan Ramezani
2021-04-22Used assertCountEqual() in ExcludeTests.test_exclude_subquery().Mariusz Felisiak
2021-04-21Fixed #32650 -- Fixed handling subquery aliasing on queryset combination.Simon Charette
2021-03-10Refs #32508 -- Raised TypeError instead of using "assert" on unsupported oper...Mariusz Felisiak
2021-01-14Refs #7098 -- Removed support for passing raw column aliases to order_by().Mariusz Felisiak
2020-11-06Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly.Hasan Ramezani
2020-10-28Fixed #32143 -- Used EXISTS to exclude multi-valued relationships.Simon Charette
2020-10-27Removed an obsolete query test that assumes serial pks.Tim Graham