summaryrefslogtreecommitdiff
path: root/tests/queries/tests.py
AgeCommit message (Expand)Author
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
2020-09-16Fixed #31843 -- Fixed pickling named values from QuerySet.values_list().Kwist
2020-09-14Fixed #31990 -- Fixed QuerySet.ordered for GROUP BY queries on models with Me...Mariusz Felisiak
2020-07-29Fixed #31783 -- Fixed crash when filtering againts "negate" field.Hasan Ramezani
2020-07-06Fixed #23797 -- Fixed QuerySet.exclude() when rhs is a nullable column.Jacob Walls
2020-06-08Fixed #31664 -- Reallowed using non-expressions having filterable attribute a...Nicolas Baccelli
2020-05-15Refs #31395 -- Relied on setUpTestData() test data isolation in various tests.Simon Charette
2020-05-15Refs #13227 -- Adjusted a test to avoid making a shared test model unpickable.Simon Charette
2020-04-06Fixed #31426 -- Added proper field validation to QuerySet.order_by().Simon Charette
2020-04-06Refs #7098 -- Deprecated passing raw column aliases to order_by().Simon Charette
2019-11-18Removed unnecessary parentheses in various code.Jon Dufresne
2019-09-02Fixed #30739 -- Fixed exclusion of multi-valued lookup against outer rhs.Simon Charette
2019-08-05Fixed #28393 -- Added helpful error messages for invalid AutoField/FloatField...Diederik van der Boor
2019-07-23Improved error message when index in __getitem__() is invalid.Jon Dufresne
2019-07-10Fixed #30628 -- Adjusted expression identity to differentiate bound fields.Simon Charette
2019-06-25Fixed #30477 -- Made reverse lookup use Field.get_db_prep_value() from the ta...can
2019-04-15Refs #23758 -- Used RecursionError instead of RuntimeError to raise nested su...Simon Charette
2019-04-15Refs #27149 -- Based recursive nested subquery detection on sys.getrecursionl...Simon Charette
2019-03-30Refs #29697 -- Added test for excluding m2m intermediary table.can
2019-03-28Refs #18726 -- Added test for excluding circular related fields with F() expr...Mariusz Felisiak