| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-07-10 | Fixed #11964 -- Added support for database check constraints. | Ian Foote | |
| 2018-07-02 | Fixed #29530 -- Fixed aliases ordering when chaining annotate() and filter(). | Mariusz Felisiak | |
| 2018-04-19 | Fixed #28574 -- Added QuerySet.explain(). | Tom | |
| 2018-04-04 | Fixed #25718 -- Made a JSONField lookup value of None match keys that have a ↵ | Dmitry Dygalo | |
| null value. | |||
| 2018-02-10 | Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields). | Matthew Wilkes | |
| 2018-02-05 | Refs #28814 -- Imported from collections.abc to fix Python 3.7 deprecation ↵ | Raymond Hettinger | |
| warnings. https://bugs.python.org/issue25988 | |||
| 2018-01-12 | Removed Query.split_exclude()'s unused prefix argument. | Mariusz Felisiak | |
| Unused since b4492a8ca4a7ae4daa3a6b03c3d7a845fad74931. | |||
| 2018-01-12 | Fixed #28996 -- Simplified some boolean constructs and removed trivial ↵ | Дилян Палаузов | |
| continue statements. | |||
| 2018-01-03 | Fixed #28982 -- Simplified code with and/or. | Дилян Палаузов | |
| 2018-01-03 | Fixed #28811 -- Fixed crash when combining regular and group by annotations. | Robin Ramael | |
| 2017-12-12 | Refs #27985 -- Reallowed using __exact=None as an alias for __isnull=True if ↵ | Sergey Fedoseev | |
| a custom lookup class with lookup_name != None is registered as the exact lookup. Regression in 58da81a5a372a69f0bac801c412b57f3cce5f188 and prerequisite for refs #28896. | |||
| 2017-12-06 | Fixed #28893 -- Removed unnecessary dict.items() calls. | Tim Graham | |
| 2017-12-04 | Fixed #28860 -- Removed unnecessary len() calls. | Дилян Палаузов | |
| 2017-11-14 | Fixed #28795 -- Removed 'not in' checks and used dict.setdefault(). | Дилян Палаузов | |
| 2017-11-07 | Fixed #28769 -- Replaced 'x if x else y' with 'x or y'. | Дилян Палаузов | |
| 2017-10-16 | Fixed #28497 -- Restored the ability to use sliced QuerySets with __exact. | Tim Graham | |
| Regression in ec50937bcbe160e658ef881021402e156beb0eaf. Thanks Simon Charette for review. | |||
| 2017-09-22 | Fixed #27332 -- Added FilteredRelation API for conditional join (ON clause) ↵ | Nicolas Delaby | |
| support. Thanks Anssi Kääriäinen for contributing to the patch. | |||
| 2017-09-20 | Removed unused list in Query.resolve_lookup_value(). | Nicolas Delaby | |
| Unneeded since its introduction in 4f138fe5a496a81115c4fba6615a517fc62c3b17. | |||
| 2017-09-18 | Fixed #26608 -- Added support for window expressions (OVER clause). | Mads Jensen | |
| Thanks Josh Smeaton, Mariusz Felisiak, Sergey Fedoseev, Simon Charettes, Adam Chainz/Johnson and Tim Graham for comments and reviews and Jamie Cockburn for initial patch. | |||
| 2017-09-07 | Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()." | Tim Graham | |
| This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better. | |||
| 2017-09-03 | Updated EmpytResultSet import not to use the alias. | Mariusz Felisiak | |
| 2017-08-31 | Fixed #28549 -- Fixed QuerySet.defer() with super and subclass fields. | Jeremy Kerr | |
| Previously, deferring fields in different classes didn't omit the superclass' deferred field. Thanks Simon Charette for the suggested fix. | |||
| 2017-08-15 | Simplified generation of result in Query.get_aggregation(). | Sergey Fedoseev | |
| 2017-08-15 | Avoided creation of temporary set in Query.append_annotation_mask(). | Sergey Fedoseev | |
| 2017-08-11 | Simplified calculation of used joins in Query.build_filter(). | Sergey Fedoseev | |
| 2017-08-11 | Removed outdated comment in Query.build_filter(). | Sergey Fedoseev | |
| 2017-08-07 | Refs #28459 -- Improved performance of SQLCompiler.results_iter(). | Sergey Fedoseev | |
| 2017-08-01 | Fixed #28454 -- Simplifed use of Query.setup_joins() by returning a named tuple. | Matthew Wilkes | |
| 2017-07-31 | Fixed #27985 -- Fixed query for __exact=value when get_prep_value() converts ↵ | Sergey Fedoseev | |
| value to None. Also fixed crash of .filter(field__transform=None). | |||
| 2017-07-31 | Refs #20880 -- Removed non-cloning logic from Query.clone(). | Anssi Kääriäinen | |
| 2017-07-31 | Fixed #28453 -- Made __exact=None lookup use transforms. | Sergey Fedoseev | |
| 2017-07-31 | Avoided creating temporary lists for obtaining the first item. | Sergey Fedoseev | |
| 2017-07-29 | Avoided creation of temporary sets. | Sergey Fedoseev | |
| 2017-07-20 | Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and ↵ | Tim Graham | |
| Expression.convert_value(). Unused since a0d166306fbdc41f49e6fadf4ec84b17eb147daa. | |||
| 2017-07-15 | Fixed #28399 -- Fixed QuerySet.count() for union(), difference(), and ↵ | Florian Apolloner | |
| intersection() queries. | |||
| 2017-07-07 | Removed unused Query.clone() memo kwarg. | Tim Graham | |
| Unused since 23ca3a01940c63942885df4709712cebf4df79ec. | |||
| 2017-06-29 | Fixed #28010 -- Added FOR UPDATE OF support to QuerySet.select_for_update(). | Ran Benita | |
| 2017-06-29 | Removed obsolete Query.tables attribute. | Anssi Kääriäinen | |
| Obsolete since Query.alias_map became an OrderedDict (refs #26522). | |||
| 2017-06-13 | Refs #23853 -- Updated sql.query.Query.join() docstring. | Tim Graham | |
| Follow up to ab89414f40db1598364a7fe4cfac1766cacd2668. | |||
| 2017-06-08 | Removed unused sql.Query.query_terms | Claude Paroz | |
| Unused since 5008a4db440c8f7d108a6979b959025ffb5789ba. | |||
| 2017-06-01 | Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. | Jon Dufresne | |
| 2017-05-27 | Fixed #28249 -- Removed unnecessary dict.keys() calls. | Jon Dufresne | |
| iter(dict) is equivalent to iter(dict.keys()). | |||
| 2017-05-01 | Refs #16187 -- Stopped compiling query compilers during lookup rhs processing. | Simon Charette | |
| Lookup right hand side processing was compiling query compilers which happened to work by chance as SQLCompiler defines a as_sql() method with two optional parameters albeit it doesn't expect the same type of arguments. | |||
| 2017-04-28 | Reverted "Refs #20939 -- Moved subquery ordering clearing optimization to ↵ | Simon Charette | |
| the __in lookup." This reverts commit e62ea0bb9cbb54c1eef848871fe3eab2bad268dc since it broke multi-column __in lookups and _meta.order_wrt on Oracle. | |||
| 2017-04-27 | Refs #20939 -- Moved subquery ordering clearing optimization to the __in lookup. | Simon Charette | |
| Queries could potentially be resolved in cases where ordering matter. | |||
| 2017-04-27 | Replaced set |= operator with update() to avoid temporary set. | Jon Dufresne | |
| 2017-04-25 | Refs #20939 -- Removed the Query._prepare_as_filter_value() hack. | Simon Charette | |
| 2017-04-25 | Refs #20939 -- Removed the Query._forced_pk hack. | Simon Charette | |
| 2017-04-23 | Fixed #28101 -- Fixed a regression with nested __in subquery lookups and ↵ | Simon Charette | |
| to_field. Thanks Kristian Klette for the report and Tim for the help. | |||
| 2017-03-18 | Removed unused connector parameter of Query.build_filter(). | Mads Jensen | |
| Unused since 6fe2b001dba45134d7c10729c57959995e241a88. | |||
