summaryrefslogtreecommitdiff
path: root/tests/queries
AgeCommit message (Expand)Author
2021-07-01[3.2.x] Fixed CVE-2021-35042 -- Prevented SQL injection in QuerySet.order_by().Simon Charette
2021-05-13[3.2.x] Fixed #32717 -- Fixed filtering of querysets combined with the | oper...Simon Charette
2021-04-28[3.2.x] Fixed #32632, Fixed #32657 -- Removed flawed support for Subquery dec...Simon Charette
2021-04-22[3.2.x] Used assertCountEqual() in ExcludeTests.test_exclude_subquery().Mariusz Felisiak
2021-04-21[3.2.x] Fixed #32650 -- Fixed handling subquery aliasing on queryset combinat...Simon Charette
2021-04-14[3.2.x] Fixed #32548 -- Fixed crash when combining Q() objects with boolean e...Jonathan Richards
2021-04-13[3.2.x] Fixed #32627 -- Fixed QuerySet.values()/values_list() crash on combin...Iuri de Silvio
2021-02-18[3.2.x] Fixed #32450 -- Fixed crash when ANDing/ORing an empty Q() with not p...starryrbs
2020-12-10Fixed #32178 -- Allowed database backends to skip tests and mark expected fai...Hasan Ramezani
2020-11-16Fixed #31507 -- Added QuerySet.exists() optimizations to compound queries.David-Wobrock
2020-11-16Refs #27718 -- Doc'd and tested QuerySet.exists() for combined querysets.David-Wobrock
2020-11-14Fixed #31496 -- Fixed QuerySet.values()/values_list() crash on combined query...David-Wobrock
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-28Refs #27149 -- Fixed sql.Query identity.Simon Charette
2020-10-27Fixed some queries tests when primary key values are large.Tim Graham
2020-10-27Removed an obsolete query test that assumes serial pks.Tim Graham
2020-10-19Fixed #32116 -- Fixed QuerySet.order_by() crash on EmptyQuerySet with union()...Hannes Ljungberg
2020-10-05Fixed #32068 -- Added error messages on get() with filters following union(),...Hasan Ramezani
2020-10-05Refs #32068 -- Added tests for get() following union(), intersection(), and d...Hasan Ramezani
2020-09-17Fixed #31916 -- Fixed combined queryset crash when combining with ordered com...Hasan Ramezani
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-08-24Refs #30897 -- Added test for WAL option to Queryset.explain() on PostgreSQL ...Nick Pope
2020-07-31Fixed #27719 -- Added QuerySet.alias() to allow creating reusable aliases.Alexandr Tatarinov
2020-07-29Fixed #31783 -- Fixed crash when filtering againts "negate" field.Hasan Ramezani
2020-07-07Fixed #31767 -- Fixed QuerySet.none() on combined queryset.Mariusz Felisiak
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-27Refs #31614 -- Added test for ordering by OrderBy() of combined queryset with...Mariusz Felisiak
2020-05-26Fixed #31614 -- Fixed aliases ordering by OrderBy() expressions of combined q...Laurent Tramoy
2020-05-26Refs #31614 -- Added test for aliases ordering on combined querysets.Laurent Tramoy
2020-05-26Used operator.attrgetter() in test_qs_combinators.Laurent Tramoy
2020-05-19Fixed #31578 -- Dropped support for MySQL 5.6.Mariusz Felisiak
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-05-13Fixed #31580 -- Added error messages on distinct() following union(), interse...Hasan Ramezani
2020-05-08Fixed #12990, Refs #27694 -- Added JSONField model field.sage
2020-05-04Changed `'%s' % value` pattern to `str(value)`.Nick Pope
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
2020-02-04Simplified imports from django.db and django.contrib.gis.db.Nick Pope
2020-01-09Fixed #31148 -- Added error messages on update()/delete() operations followin...Hasan Ramezani
2019-11-21Refs #25367 -- Made Query.build_filter() raise TypeError on non-conditional e...Simon Charette
2019-11-21Fixed #30484 -- Added conditional expressions support to CheckConstraint.Simon Charette
2019-11-21Refs #11964 -- Removed SimpleCol in favor of Query(alias_cols).Simon Charette
2019-11-18Removed unnecessary parentheses in various code.Jon Dufresne
2019-11-18Fixed #30988 -- Deprecated the InvalidQuery exception.Simon Charette
2019-11-13Fixed #30971 -- Prevented Query.resolve_lookup_value() from coercing list val...George Marshall
2019-10-24Refs #30897 -- Added support for ANALYZE option to Queryset.explain() on Mari...Nick Pope