summaryrefslogtreecommitdiff
path: root/tests/queries
AgeCommit message (Expand)Author
2023-01-20[4.2.x] Fixed #34267 -- Fixed sliced QuerySet.union() crash.Francesco Panico
2022-12-21Removed unnecessary commas in tests.Mariusz Felisiak
2022-12-02Refs #33308 -- Avoided passing None to RawSQL's params.Florian Apolloner
2022-11-23Refs #33050 -- Added test for QuerySet.count() on combined queries with selec...Mariusz Felisiak
2022-11-15Fixed #34123 -- Fixed combinator order by alias when using select_related().Simon Charette
2022-11-07Refs #33374 -- Adjusted full match condition handling.Simon Charette
2022-10-31Fixed #16211 -- Added logical NOT support to F expressions.David Wobrock
2022-10-29Fixed #34125 -- Fixed sliced QuerySet.union() crash on a single non-empty que...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-10-05Fixed #33768 -- Fixed ordering compound queries by nulls_first/nulls_last on ...Simon Charette
2022-10-04Fixed #34012 -- Made QuerySet.order_by() apply transforms on related fields f...David Sanders
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-27Refs #32948, Refs #32946 -- Used Q.create() internally for dynamic Q() objects.Nick Pope
2022-07-27Used AND, OR, XOR constants instead of hard-coded values.Nick Pope
2022-06-27Fixed #33796 -- Fixed ordered combined queryset crash when used in subquery o...Mariusz Felisiak
2022-06-13Made QuerySet.bulk_update() raise an error when batch_size is zero.Ebram Shehata
2022-05-19Fixed #33717 -- Dropped support for PostgreSQL 11.Mariusz Felisiak
2022-05-04Refs #30581 -- Added Q.check() hook.Gagaro
2022-05-03Refs #30581 -- Added Q.flatten().Gagaro
2022-04-19Refs #32226 -- Fixed JSON format of QuerySet.explain() on PostgreSQL when for...Mariusz Felisiak
2022-04-14Relaxed some query ordering assertions in various tests.Mariusz Felisiak
2022-04-14Made select_for_update() don't raise TransactionManagementError on databases ...Mariusz Felisiak
2022-04-14Expanded QuerySet.explain() error message if a backend supports no formats.Tim Graham
2022-04-13Improved ExplainTests.test_basic().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-11Removed DatabaseFeatures.validates_explain_options.Mariusz Felisiak
2022-04-11Fixed CVE-2022-28347 -- Protected QuerySet.explain(**options) against SQL inj...Mariusz Felisiak
2022-04-11Fixed CVE-2022-28346 -- Protected QuerySet.annotate(), aggregate(), and extra...Mariusz Felisiak
2022-03-16Refs #30581 -- Allowed sql.Query to be used without model.Gagaro
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-09Fixed #33506 -- Made QuerySet.bulk_update() perform atomic writes against wri...Simon Charette
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
2022-01-27Fixed #33463 -- Fixed QuerySet.bulk_update() with F() expressions.Jörg Breitbart
2022-01-17Fixed #29338 -- Allowed using combined queryset in Subquery.Mariusz Felisiak
2021-12-08Fixed #33319 -- Fixed crash when combining with the | operator querysets with...Ömer Faruk Abacı
2021-11-29Fixed #33322 -- Fixed loss of assigned related object when saving relation wi...Hannes Ljungberg
2021-11-19Refs #24121 -- Added __repr__() to BaseDatabaseWrapper, JoinPromoter, and SQL...Jonny Park
2021-10-08Refs #25467 -- Added test for excluding one-to-one relation with unsaved obje...Jacob Walls
2021-10-08Fixed tests.queries.models.StaffUser.__str__().Jacob Walls
2021-09-30Fixed #33159 -- Reverted "Fixed #32970 -- Changed WhereNode.clone() to create...Mariusz Felisiak
2021-09-24Fixed #33127 -- Added error messages on | and & operators with combined query...Hasan Ramezani
2021-07-15Refs #32508 -- Raised Type/ValueError instead of using "assert" in django.db....Daniyal