<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/django/db/models/sql/query.py, branch 3.0rc1</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=3.0rc1</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=3.0rc1'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2019-11-13T08:20:50Z</updated>
<entry>
<title>[3.0.x] Fixed #30971 -- Prevented Query.resolve_lookup_value() from coercing list values to tuples.</title>
<updated>2019-11-13T08:20:50Z</updated>
<author>
<name>George Marshall</name>
<email>george@georgemarshall.name</email>
</author>
<published>2019-11-10T08:48:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=fa6076daf460df2c2c5ff9f62862f050bc4427f4'/>
<id>urn:sha1:fa6076daf460df2c2c5ff9f62862f050bc4427f4</id>
<content type='text'>
Regression in 8a281aa7fe76a9da2284f943964a9413697cff1f.

Backport of 8be79984dce7d819879a6e594ca69c5f95a08378 from master
</content>
</entry>
<entry>
<title>[3.0.x] Fixed #30796 -- Prevented select_related() from mutating a queryset on chaining.</title>
<updated>2019-09-24T07:47:21Z</updated>
<author>
<name>Simon Charette</name>
<email>simon.charette@zapier.com</email>
</author>
<published>2019-09-23T19:51:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=6b7bd079a6fc4e84553262b65074dbe0af456b03'/>
<id>urn:sha1:6b7bd079a6fc4e84553262b65074dbe0af456b03</id>
<content type='text'>
Thanks Darren Maki for the report.

Backport of 37f8f293775d0b672da8ae369d9a4e17f1db7851 from master
</content>
</entry>
<entry>
<title>Fixed #30739 -- Fixed exclusion of multi-valued lookup against outer rhs.</title>
<updated>2019-09-02T08:52:36Z</updated>
<author>
<name>Simon Charette</name>
<email>simon.charette@zapier.com</email>
</author>
<published>2019-09-01T18:35:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=13a8884a08342817094cc6287c7ae346100a297d'/>
<id>urn:sha1:13a8884a08342817094cc6287c7ae346100a297d</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Fixed #25367 -- Allowed boolean expressions in QuerySet.filter() and exclude().</title>
<updated>2019-08-29T07:45:29Z</updated>
<author>
<name>Matthew Schinckel</name>
<email>matt@schinckel.net</email>
</author>
<published>2017-02-27T09:01:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=4137fc2efce2dde48340728b8006fc6d66b9e3a5'/>
<id>urn:sha1:4137fc2efce2dde48340728b8006fc6d66b9e3a5</id>
<content type='text'>
This allows using expressions that have an output_field that is a
BooleanField to be used directly in a queryset filters, or in the
When() clauses of a Case() expression.

Thanks Josh Smeaton, Tim Graham, Simon Charette, Mariusz Felisiak, and
Adam Johnson for reviews.

Co-Authored-By: NyanKiyoshi &lt;hello@vanille.bid&gt;
</content>
</entry>
<entry>
<title>Fixed #30687 -- Fixed using of OuterRef() expressions in distance lookups.</title>
<updated>2019-08-16T04:50:33Z</updated>
<author>
<name>Andrew Brown</name>
<email>brownan@gmail.com</email>
</author>
<published>2019-08-07T16:54:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=8a281aa7fe76a9da2284f943964a9413697cff1f'/>
<id>urn:sha1:8a281aa7fe76a9da2284f943964a9413697cff1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #30668 -- Made QuerySet.filter() raise NotSupportedError if any of source expressions is not filterable.</title>
<updated>2019-08-02T13:06:00Z</updated>
<author>
<name>aaktsipetrov</name>
<email>aaktsipetrov@iponweb.net</email>
</author>
<published>2019-08-01T14:59:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=4edad1ddf6203326e0be4bdb105beecb0fe454c4'/>
<id>urn:sha1:4edad1ddf6203326e0be4bdb105beecb0fe454c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added Query.is_sliced property.</title>
<updated>2019-07-25T18:45:55Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2019-07-25T18:45:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=806ba19bbff311b7d567857ae61db6ff84af4a2c'/>
<id>urn:sha1:806ba19bbff311b7d567857ae61db6ff84af4a2c</id>
<content type='text'>
Previously, we used Query.can_filter() mainly to check if a query is
sliced what was confusing.</content>
</entry>
<entry>
<title>Fixed #28408 -- Added error message when updating with annotated expressions on joined fields.</title>
<updated>2019-06-28T05:55:32Z</updated>
<author>
<name>can</name>
<email>cansarigol@derinbilgi.com.tr</email>
</author>
<published>2019-06-27T19:13:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=f03b7bd11461e8b525c27d5344f8cd3a21c9565e'/>
<id>urn:sha1:f03b7bd11461e8b525c27d5344f8cd3a21c9565e</id>
<content type='text'>
Co-Authored-By: Simon Charette &lt;charette.s@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fixed #29834 -- Fixed column mismatch crash with QuerySet.values()/values_list() and order_by() on combined querysets.</title>
<updated>2019-06-19T10:11:28Z</updated>
<author>
<name>can</name>
<email>cansarigol@derinbilgi.com.tr</email>
</author>
<published>2019-03-27T18:18:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=2cbd3967e0a51eab993df89679046d25ec78baec'/>
<id>urn:sha1:2cbd3967e0a51eab993df89679046d25ec78baec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #30349 -- Fixed QuerySet.exclude() on FilteredRelation.</title>
<updated>2019-05-07T12:47:50Z</updated>
<author>
<name>Rob</name>
<email>tienrobertnguyenn@gmail.com</email>
</author>
<published>2019-05-06T14:42:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=6b736dd0747dc77473f1f7b691c196ef5912d7dd'/>
<id>urn:sha1:6b736dd0747dc77473f1f7b691c196ef5912d7dd</id>
<content type='text'>
Using annotated FilteredRelations raised a FieldError when coupled with
exclude(). This is due to not passing filtered relation fields to the
subquery created in split_exclude(). We fixed this issue by passing the
filtered relation data to the newly created subquery.

Secondly, in the case where an INNER JOIN is used in the excluded
subquery, the ORM would trim the filtered relation INNER JOIN in attempt
to simplify the query. This will also remove the ON clause filters
generated by the FilteredRelation. We added logic to not trim the INNER
JOIN if it is from FilteredRelation.
</content>
</entry>
</feed>
