| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-02-04 | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | |
| 2020-01-09 | Fixed #31148 -- Added error messages on update()/delete() operations ↵ | Hasan Ramezani | |
| following union(), intersection(), and difference(). | |||
| 2019-11-21 | Refs #25367 -- Made Query.build_filter() raise TypeError on non-conditional ↵ | Simon Charette | |
| expressions. | |||
| 2019-11-21 | Fixed #30484 -- Added conditional expressions support to CheckConstraint. | Simon Charette | |
| 2019-11-21 | Refs #11964 -- Removed SimpleCol in favor of Query(alias_cols). | Simon Charette | |
| This prevent having to pass simple_col through multiple function calls by defining whether or not references should be resolved with aliases at the Query level. | |||
| 2019-11-18 | Removed unnecessary parentheses in various code. | Jon Dufresne | |
| 2019-11-18 | Fixed #30988 -- Deprecated the InvalidQuery exception. | Simon Charette | |
| It was barely documented without pointers at its defining location and was abused to prevent misuse of the QuerySet field deferring feature. | |||
| 2019-11-13 | Fixed #30971 -- Prevented Query.resolve_lookup_value() from coercing list ↵ | George Marshall | |
| values to tuples. Regression in 8a281aa7fe76a9da2284f943964a9413697cff1f. | |||
| 2019-10-24 | Refs #30897 -- Added support for ANALYZE option to Queryset.explain() on ↵ | Nick Pope | |
| MariaDB and MySQL 8.0.18+. | |||
| 2019-10-24 | Refs #30897 -- Added support for TREE format to Queryset.explain() on MySQL ↵ | Nick Pope | |
| 8.0.16+. | |||
| 2019-10-23 | Refs #30897 -- Added test for SETTINGS option to Queryset.explain() on ↵ | Nick Pope | |
| PostgreSQL 12+. | |||
| 2019-10-23 | Refs #28574 -- Used feature flag for PostgreSQL version check. | Nick Pope | |
| 2019-09-24 | Refs #29444 -- Removed redundant ↵ | Mariusz Felisiak | |
| DatabaseFeatures.can_return_multiple_columns_from_insert. Unnecessary since b31e63879eb5d9717e9f890401f7222e4f00c910. | |||
| 2019-09-24 | Fixed #30796 -- Prevented select_related() from mutating a queryset on chaining. | Simon Charette | |
| Thanks Darren Maki for the report. | |||
| 2019-09-10 | Refs #14357 -- Made Meta.ordering not affect GROUP BY queries. | Mariusz Felisiak | |
| Per deprecation timeline. | |||
| 2019-09-09 | Refs #29444 -- Allowed returning multiple fields from INSERT statements on ↵ | Johannes Hoppe | |
| PostgreSQL. Thanks Florian Apolloner, Tim Graham, Simon Charette, Nick Pope, and Mariusz Felisiak for reviews. | |||
| 2019-09-02 | Fixed #30739 -- Fixed exclusion of multi-valued lookup against outer rhs. | Simon Charette | |
| OuterRef right hand sides have to be nested, just like F rhs have to, during the subquery pushdown split_exclude performs to ensure they are resolved against the outer query aliases. | |||
| 2019-08-05 | Fixed #28393 -- Added helpful error messages for invalid ↵ | Diederik van der Boor | |
| AutoField/FloatField/IntegerField values. Co-authored-by: Diederik van der Boor <vdboor@edoburu.nl> Co-authored-by: Nick Pope <nick.pope@flightdataservices.com> | |||
| 2019-07-25 | Fixed #27995 -- Added error messages on unsupported operations following ↵ | Hasan Ramezani | |
| union(), intersection(), and difference(). | |||
| 2019-07-23 | Improved error message when index in __getitem__() is invalid. | Jon Dufresne | |
| 2019-07-10 | Fixed #30628 -- Adjusted expression identity to differentiate bound fields. | Simon Charette | |
| Expressions referring to different bound fields should not be considered equal. Thanks Julien Enselme for the detailed report. Regression in bc7e288ca9554ac1a0a19941302dea19df1acd21. | |||
| 2019-06-25 | Fixed #30477 -- Made reverse lookup use Field.get_db_prep_value() from the ↵ | can | |
| target field. | |||
| 2019-06-19 | Fixed #29834 -- Fixed column mismatch crash with ↵ | can | |
| QuerySet.values()/values_list() and order_by() on combined querysets. | |||
| 2019-06-19 | Fixed #30572 -- Prevented values()/values_list() on combined queryset from ↵ | Mariusz Felisiak | |
| mutating the list of columns in querysets. | |||
| 2019-04-30 | Fixed #30412 -- Fixed crash when adding check constraints with OR'ed ↵ | can | |
| condition on Oracle and SQLite. | |||
| 2019-04-15 | Refs #23758 -- Used RecursionError instead of RuntimeError to raise nested ↵ | Simon Charette | |
| subquery errors. RecursionError was introduced in Python 3.5 and subclasses RuntimeError. | |||
| 2019-04-15 | Refs #27149 -- Based recursive nested subquery detection on ↵ | Simon Charette | |
| sys.getrecursionlimit(). This makes sure the test_avoid_infinite_loop_on_too_many_subqueries test doesn't fail on systems with a non-default recursion limit. | |||
| 2019-03-30 | Refs #29697 -- Added test for excluding m2m intermediary table. | can | |
| 2019-03-28 | Refs #18726 -- Added test for excluding circular related fields with F() ↵ | Mariusz Felisiak | |
| expression. Fixed in f19a4945e1191e1696f1ad8e6cdc6f939c702728. | |||
| 2019-03-23 | Fixed #21703 -- Fixed a crash when excluding a related field with a F(). | Simon Charette | |
| 2019-03-21 | Refs #27149 -- Moved subquery expression resolving to Query. | Simon Charette | |
| This makes Subquery a thin wrapper over Query and makes sure it respects the Expression source expression API by accepting the same number of expressions as it returns. Refs #30188. It also makes OuterRef usable in Query without Subquery wrapping. This should allow Query's internals to more easily perform subquery push downs during split_exclude(). Refs #21703. | |||
| 2019-02-09 | Removed uneeded generator expressions and list comprehensions. | Sergey Fedoseev | |
| 2019-02-06 | Fixed #30159 -- Removed unneeded use of OrderedDict. | Nick Pope | |
| Dicts preserve order since Python 3.6. | |||
| 2019-01-14 | Fixed #30093 -- Fixed ordering of combined queryset ordered by F expressions. | Sergey Fedoseev | |
| 2018-12-06 | Fixed #29932 -- Fixed combining compound queries with sub-compound queries ↵ | Mariusz Felisiak | |
| on SQLite and Oracle. | |||
| 2018-11-27 | Switched TestCase to SimpleTestCase where possible in Django's tests. | Tim Graham | |
| 2018-11-21 | Fixed #29974 -- Fixed non-truthy primary key values for QuerySet.bulk_update(). | Tom Forbes | |
| 2018-11-15 | Fixed #17930 -- Allowed ORing (|) with sliced QuerySets. | Ian Foote | |
| 2018-09-26 | Fixed #29630 -- Fixed crash of sliced queries with multiple columns with the ↵ | Mariusz Felisiak | |
| same name on Oracle 12.1. Regression in 0899d583bdb140910698d00d17f5f1abc8774b07. Thanks Tim Graham for the review and Jani Tiainen for help. | |||
| 2018-09-18 | Fixed #23646 -- Added QuerySet.bulk_update() to efficiently update many models. | Tom Forbes | |
| 2018-09-13 | Refs #14357 -- Deprecated Meta.ordering affecting GROUP BY queries. | Ramiro Morales | |
| Thanks Ramiro Morales for contributing to the patch. | |||
| 2018-08-29 | Fixed #29694 -- Fixed column mismatch crash with QuerySet.values() or ↵ | Mariusz Felisiak | |
| values_list() after combining querysets with extra() with union(), difference(), or intersection(). Regression in 0b66c3b442875627fa6daef4ac1e90900d74290b. | |||
| 2018-08-21 | Fixed #29658 -- Registered model lookups in tests with a context manager. | Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) | |
| 2018-07-25 | Refs #29563 -- Fixed SQLCompiler.execute_sql() to respect ↵ | Andrew Brown | |
| DatabaseFeatures.can_use_chunked_reads. | |||
| 2018-07-16 | Fixed #28917 -- Prevented Paginator's unordered warning on EmptyQuerySet. | Josh Schneier | |
| Thanks carltongibson for the idea and weijunji for the initial patch. | |||
| 2018-07-10 | Fixed #11964 -- Added support for database check constraints. | Ian Foote | |
| 2018-07-09 | Fixed some assertTrue() that were intended to be assertEqual(). | Sergey Fedoseev | |
| 2018-06-06 | Fixed MySQL QuerySet.explain() test when running tests in reverse. | Tim Graham | |
| 2018-06-06 | Refs #29451 -- Used quote_name for column names in tests. | Carlton Gibson | |
| Regression in a253a580e6f20fb7087490225538422eb6cab0bb | |||
| 2018-06-05 | Refs #29451 -- Quoted MySQL column names in tests. | Tom Forbes | |
