| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-12-17 | [1.9.x] Refs #25894 -- Fixed evaluation of zero-length slices of ↵ | Sergey Fedoseev | |
| QuerySet.values() on Oracle. Backport of ed1bcf05158acf4bf4e0189d477b6c762bd0133e from master | |||
| 2015-12-15 | [1.9.x] Fixed #25894 -- Fixed evaluation of zero-length slices of ↵ | Sergey Fedoseev | |
| QuerySet.values(). Backport of 69b69f6d6085d80ccf36a3e999e9e5b98d580786 from master | |||
| 2015-12-14 | [1.9.x] Fixed #25882 -- Prevented fast deletes matching no rows from ↵ | Simon Charette | |
| crashing on MySQL. Thanks to Trac aliases gerricom for the report, raphaelmerx for the attempts to reproduce and Sergey Fedoseev and Tim for the review. Refs #16891 Backport of 8035cee92293f3319919c8248c7787ba43c05917 from master | |||
| 2015-10-27 | [1.9.x] Fixed #25609 -- Fixed regression in related field nested lookup error. | Ian Foote | |
| Backport of 32ef48aa562e6aaee9983f5d0f1c60f02fd555fb from master | |||
| 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 | |
| 2015-09-05 | Fixed #24525 -- Fixed AssertionError in some complex queries. | Tim Graham | |
| Thanks Anssi Kääriäinen for providing the solution. | |||
| 2015-09-04 | Fixed #19263 -- Fixed crash when filtering using __in and an empty QuerySet. | Tim Graham | |
| Thanks Marcin Biernat for the initial patch and tests. | |||
| 2015-08-31 | Fixed #25331 -- Removed trailing blank lines in docstrings. | Maxime Lorant | |
| 2015-08-20 | Fixed #24951 -- Fixed AssertionError in delete queries involving a ↵ | Tim Graham | |
| foreign/primary key. Thanks Anssi Kääriäinen for help. | |||
| 2015-08-15 | Fixed #24986 -- Added support for annotations in DISTINCT queries. | Valentina Mukhamedzhanova | |
| 2015-08-15 | Fixed #25064 -- Allowed empty join columns. | Alex Hill | |
| 2015-08-14 | Made Options.get_base_chain() always return a list. | Valentina Mukhamedzhanova | |
| 2015-07-28 | Adjusted SQLCompiler.get_order_by()'s docstring return value. | risicle | |
| 2015-07-27 | Fixed #25095 -- Fixed annotate() + values() group by bug | Mitchell Kotler | |
| Thanks Josh Smeaton for help on the tests. | |||
| 2015-07-13 | Fixed #24923 -- errored out nicely when using aggregates in order_by() | Anssi Kääriäinen | |
| 2015-06-29 | Fixed #23791 -- Corrected object type check for pk__in=qs | Anssi Kääriäinen | |
| When the pk was a relation field, qs.filter(pk__in=qs) didn't work. In addition, fixed Restaurant.objects.filter(place=restaurant_instance), where place is an OneToOneField and the primary key of Restaurant. A big thank you to Josh for review and to Tim for review and cosmetic edits. Thanks to Beauhurst for commissioning the work on this ticket. | |||
| 2015-06-27 | Sorted imports in __init__.py files. | Tim Graham | |
| 2015-06-24 | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | |
| Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | |||
| 2015-06-05 | Refs #24833 -- Forwardported some of "Fixed Case expressions with exclude()." | Andriy Sokolovskiy | |
| Partial forwardport of 469f1e362bb9670b174b37da9edd4631aff7badb from stable/1.8.x as the issue was already fixed in master. | |||
| 2015-05-25 | Fixed #24835 -- Fixed QuerySet.exists() after an annotation with Count() | Paweł Marczewski | |
| QuerySet.exists() incorrectly handled query.group_by = True case (grouping by all select fields), causing GROUP BY expressions to be wiped along with select fields. | |||
| 2015-05-22 | Fixed #16891 -- Made Model/QuerySet.delete() return the number of deleted ↵ | Alexander Sosnovskiy | |
| objects. | |||
| 2015-05-20 | Fixed #24705 -- Fixed negated Q objects in expressions. | Anssi Kääriäinen | |
| Avoided split_exclude() for Q when used as an expression. | |||
| 2015-05-17 | Renamed value_to_db_xxx to adapt_xxxfield_value. | Aymeric Augustin | |
| This mirrors convert_xxxfield_value nicely, taking advantage of the adapter/converter terminology which is commonly used by DB-API modules. | |||
| 2015-05-17 | Removed global timezone-aware datetime adapters. | Aymeric Augustin | |
| Refs #23820. Fixed #19738. Refs #17755. In order not to introduce a regression for raw queries, parameters are passed through the connection.ops.value_to_db_* methods, depending on their type. | |||
| 2015-05-11 | Fixed #24748 -- Fixed incorrect GROUP BY on MySQL in some queries | Anssi Kääriäinen | |
| When the query's model had a self-referential foreign key, the compiler.get_group_by() code incorrectly used the self-referential foreign key's column (for example parent_id) as GROUP BY clause when it should have used the model's primary key column (id). | |||
| 2015-04-28 | Fixed #24719 -- Restored the ability to use interators as queryset related ↵ | Aric Coady | |
| object filters. | |||
| 2015-04-20 | Fixed #24654 -- Based ordering circular references detection on columns. | Simon Charette | |
| Thanks to Elmar Bucher for the report and Tim for the review. | |||
| 2015-04-16 | Fixed #24605 -- Fixed incorrect reference to alias in subquery. | Anssi Kääriäinen | |
| Thanks to charettes and priidukull for investigating the issue, and to kurevin for the report. | |||
| 2015-04-16 | Fixed #24615 -- ordering by expression not part of SELECT | Anssi Kääriäinen | |
| Fixed queries where an expression was used in order_by() but the expression wasn't in the query's select clause (for example the expression could be masked by .values() call) Thanks to Trac alias MattBlack85 for the report. | |||
| 2015-04-14 | Fixed #24277 -- Added exception when dict used in QuerySet filtering | Alex Wilson | |
| 2015-04-13 | Fixed #24611 -- Fixed update() crash with related UUID pk object. | Jay Wineinger | |
| 2015-03-29 | Fixed #19259 -- Added group by selected primary keys support. | Simon Charette | |
| 2015-03-25 | Renamed Field.rel attribute to remote_field | Anssi Kääriäinen | |
| Field.rel is now deprecated. Rel objects have now also remote_field attribute. This means that self == self.remote_field.remote_field. In addition, made the Rel objects a bit more like Field objects. Still, marked ManyToManyFields as null=True. | |||
| 2015-03-25 | Removed field.field check in setup_joins() | Anssi Kääriäinen | |
| 2015-03-25 | Refs #24267 -- Implemented lookups for related fields | Anssi Kääriäinen | |
| Previously related fields didn't implement get_lookup, instead related fields were treated specially. This commit removed some of the special handling. In particular, related fields return Lookup instances now, too. Other notable changes in this commit is removal of support for annotations in names_to_path(). | |||
| 2015-03-09 | Fixed #24171 -- Fixed failure with complex aggregate query and expressions | Anssi Kääriäinen | |
| The query used a construct of qs.annotate().values().aggregate() where the first annotate used an F-object reference and the values() and aggregate() calls referenced that F-object. Also made sure the inner query's select clause is as simple as possible, and made sure .values().distinct().aggreate() works correctly. | |||
| 2015-02-20 | Update converters to take a consistent set of parameters. | Marc Tamlyn | |
| As suggested by Anssi. This has the slightly strange side effect of passing the expression to Expression.convert_value has the expression passed back to it, but it allows more complex patterns of expressions. | |||
| 2015-02-20 | Fixed #24343 -- Ensure db converters are used for foreign keys. | Marc Tamlyn | |
| Joint effort between myself, Josh, Anssi and Shai. | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-02-04 | Removed non-used EmptyShortCircuit | Anssi Kääriäinen | |
| 2015-02-04 | Removed EverythingNode | Anssi Kääriäinen | |
| At the same time, made sure that empty nodes in where clause match everything. | |||
| 2015-02-04 | Fixed #24268 -- removed Query.having | Anssi Kääriäinen | |
| Instead of splitting filter clauses to where and having parts before adding them to query.where or query.having, add all filter clauses to query.where, and when compiling the query split the where to having and where parts. | |||
| 2015-02-01 | Removed query.alias_diff() | Tim Graham | |
| This function is unused since 6fe2b001dba45134d7c10729c57959995e241a88 | |||
| 2015-02-01 | Removed Query.raise_field_error() | Tim Graham | |
| This method was inadvertently reintroduced in f59fd15c4928caf3dfcbd50f6ab47be409a43b01 | |||
| 2015-01-30 | Fixed #14483 -- Allowed using subqueries with GIS lookups | Claude Paroz | |
| 2015-01-30 | Fixed #24211 -- Removed ValuesQuerySet() and ValuesListQuerySet(). | Loic Bistuer | |
| Thanks Anssi Kääriäinen, Marc Tamlyn, and Tim Graham for the reviews. | |||
| 2015-01-30 | Fixed #24164 -- Fixed Oracle GIS limited aggregation test failure. | Tim Graham | |
| 2015-01-27 | Fixed #24154 -- Backends can now check support for expressions | Josh Smeaton | |
