| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-01-17 | Refs #26230 -- Removed support for model name query lookups when using ↵ | Tim Graham | |
| Meta.default_related_name. Per deprecation timeline. | |||
| 2017-01-16 | Fixed #25307 -- Fixed QuerySet.annotate() crash with conditional expressions. | Josh Smeaton | |
| Thanks Travis Newport for the tests and Josh Smeaton for contributing to the patch. | |||
| 2017-01-14 | Fixed #27718 -- Added QuerySet.union(), intersection(), difference(). | Florian Apolloner | |
| Thanks Mariusz Felisiak for review and Oracle assistance. Thanks Tim Graham for review and writing docs. | |||
| 2017-01-14 | Refs #16614 -- Prevented database errors from being masked by cursor close. | François Freitag | |
| When an error occurred during the cursor.execute statement, the cursor is closed. This operation did not fail with client-side cursors. Now, with server-side cursors, the close operation might fail (example below). The original error should be raised, not the one raised by cursor.close(), this is only clean-up code. For example, one can attempt to create a named cursor for an invalid query. psycopg will raise an error about the invalid query and the server-side cursor will not be created on PostgreSQL. When the code attempts to cursor.close(), it asks psycopg to close a cursor that was not created. pyscopg raises a new error: psycopg2.OperationalError: cursor "_django_curs_140365867840512_20" does not exist. | |||
| 2017-01-11 | Refs #16614 -- Made QuerySet.iterator() use server-side cursors on PostgreSQL. | François Freitag | |
| Thanks to Josh Smeaton for the idea of implementing server-side cursors in PostgreSQL from the iterator method, and Anssi Kääriäinen and Kevin Turner for their previous work. Also Simon Charette and Tim Graham for review. | |||
| 2016-12-29 | Removed unused enumerate. | Florian Apolloner | |
| 2016-12-14 | Fixed #27594 -- Fixed select_related() with reverse self-referential ↵ | Daniel Hillier | |
| OneToOneField. Fixed definition of `klass_info['from_parent']` so that two models aren't considered from a parent class if the model classes are the same. | |||
| 2016-12-07 | Fixed #17002 -- Allowed using a ManyToManyField through model that inherits ↵ | InvalidInterrupt | |
| another. | |||
| 2016-12-01 | Fixed #27546 -- Removed hardcoded class names in __repr__() methods. | Keda87 | |
| 2016-10-28 | Fixed #20939 -- Simplified query generation by converting QuerySet to Query. | Tim Graham | |
| Thanks Anssi Kääriäinen for the initial patch and Anssi, Simon Charette, and Josh Smeaton for review. | |||
| 2016-10-24 | Removed unused loop in Query.change_aliases(). | Tim Graham | |
| Unknown if it was ever used. | |||
| 2016-10-15 | Removed unused 'field' argument to DeleteQuery.delete_batch(). | Tim Graham | |
| Unused since a170c3f755351beb35f8166ec3c7e9d524d9602d. | |||
| 2016-10-14 | Tested QuerySet compatibility check. | Tim Graham | |
| cdfdcf4b70bebfc68871df885387790c6afbc23c missed this test. | |||
| 2016-10-13 | Removed unused InsertQuery.clone(). | Tim Graham | |
| Unknown if it was ever needed. | |||
| 2016-10-13 | Removed unneeded try/except in Query.names_to_path(). | Tim Graham | |
| 2016-10-13 | Removed unused branch in SQLUpdateCompiler.as_sql(). | Tim Graham | |
| Unknown if it was ever needed. | |||
| 2016-10-13 | Removed unused branch in Query.change_aliases(). | Tim Graham | |
| Unused since 0c7633178fa9410f102e4708cef979b873bccb76. | |||
| 2016-10-13 | Removed unused EmptyResultSets in SQLCompilers. | Tim Graham | |
| Unused since ed1bcf05158acf4bf4e0189d477b6c762bd0133e. | |||
| 2016-10-12 | Removed unused SubqueryConstraint.relabel_aliases() and clone() methods. | Tim Graham | |
| Unused since b68212f539f206679580afbfd008e7d329c9cd31. | |||
| 2016-10-04 | Fixed #27193 -- Preserved ordering in select_for_update subqueries. | François Freitag | |
| 2016-09-27 | Fixed #27268 -- Restored an invalid related field lookup error message in ↵ | Mariusz Felisiak | |
| QuerySet filtering. | |||
| 2016-09-27 | Removed unused branch in SQLCompiler.as_subquery_condition(). | Tim Graham | |
| Unused since dcdc579d162b750ee3449e34efd772703592faca. | |||
| 2016-09-17 | Made FieldError/FieldDoesNotExist messages uniform across Python versions. | François Freitag | |
| Removed possible u'' prefixes on Python 2. | |||
| 2016-09-09 | Fixed #27062 -- Eased implementing select_for_update() on MSSQL. | Mikhail Denisenko | |
| 2016-08-19 | Fixed #22288 -- Fixed F() expressions with the __range lookup. | Matthew Wilkes | |
| 2016-08-16 | Fixed #24854 -- Refactored QuerySet._values | Ian Foote | |
| Added django.db.models.sql.query.Query.set_values() method to handle query mutation. | |||
| 2016-08-08 | Fixed #26500 -- Added SKIP LOCKED support to select_for_update(). | Simon Charette | |
| Thanks Tim for the review. | |||
| 2016-08-08 | Moved EmpytResultSet to django.core.exceptions. | Johannes Dollinger | |
| This removes the need for some inner imports. | |||
| 2016-08-08 | Fixed #26517 -- Fixed ExpressionWrapper with empty queryset. | Johannes Dollinger | |
| 2016-06-29 | Fixed #19513, #18580 -- Fixed crash on QuerySet.update() after annotate(). | David Sanders | |
| 2016-05-19 | Fixed #26515 -- Fixed Query.trim_joins() for nested ForeignObjects. | darius BERNARD | |
| 2016-04-08 | Fixed E128 flake8 warnings in django/. | Tim Graham | |
| 2016-04-04 | Fixed W503 flake8 warnings. | Tim Graham | |
| 2016-03-28 | Sorted single letter imports per the latest version of isort. | Tim Graham | |
| 2016-03-05 | Refs #19527 -- Fixed SQL compiler regression causing Oracle failure. | Tim Graham | |
| 2016-03-02 | Refs #19527 -- Allowed QuerySet.bulk_create() to set the primary key of its ↵ | acrefoot | |
| objects. PostgreSQL support only. Thanks Vladislav Manchev and alesasnouski for working on the patch. | |||
| 2016-02-27 | Fixed #26230 -- Made default_related_name affect related_query_name. | chenesan | |
| 2016-02-11 | Fixed #26196 -- Made sure __in lookups use to_field as default. | Anssi Kääriäinen | |
| Thanks Simon Charette for the test. | |||
| 2016-01-20 | Fixed #26092 -- Fixed QuerySet.order_by() regression with an M2M through model. | Anssi Kääriäinen | |
| 2015-12-17 | Refs #25894 -- Fixed evaluation of zero-length slices of QuerySet.values() ↵ | Sergey Fedoseev | |
| on Oracle. | |||
| 2015-12-15 | Fixed #25894 -- Fixed evaluation of zero-length slices of QuerySet.values(). | Sergey Fedoseev | |
| 2015-12-14 | Fixed #25882 -- Prevented fast deletes matching no rows from crashing on MySQL. | Simon Charette | |
| Thanks to Trac aliases gerricom for the report, raphaelmerx for the attempts to reproduce and Sergey Fedoseev and Tim for the review. Refs #16891 | |||
| 2015-11-17 | Simplified lists creation in three places. | Dmitry Dygalo | |
| 2015-10-27 | Fixed #25609 -- Fixed regression in related field nested lookup error. | Ian Foote | |
| 2015-10-10 | Fixed #24687 -- Added select_related() validation for nested non-relational ↵ | Tim Graham | |
| fields. The removed test was added in the original select_related() validation patch (45d4e43d2d25b902e3821b612209afa951a8bcb8), but there doesn't seem to be any reason for it. Thanks Claude Paroz for help and review. | |||
| 2015-09-23 | Refs #14030 -- Removed backwards compatiblity for old-style aggregates. | Tim Graham | |
| Per deprecation timeline. | |||
| 2015-09-23 | Removed SQLCompiler.__call__() per deprecation timeline. | Tim Graham | |
| 2015-09-22 | Fixed #24509 -- Added Expression support to SQLInsertCompiler | Alex Hill | |
| 2015-09-21 | Fixed #24629 -- Unified Transform and Expression APIs | Josh Smeaton | |
| 2015-09-17 | Removed the unused JoinPromoter.outer_votes attribute. | Simon Charette | |
