<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/django.git/django/db/models/sql, branch main</title>
<subtitle>github.com: django/django.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/'/>
<entry>
<title>Fixed #34570 -- Silenced noop deferral of many-to-many and GFK.</title>
<updated>2023-05-17T06:06:11+00:00</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2023-05-16T19:11:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/commit/?id=99e5dff737cd20b12d060e4794e097063b61ec40'/>
<id>99e5dff737cd20b12d060e4794e097063b61ec40</id>
<content type='text'>
While deferring many-to-many and GFK has no effect, the previous
implementation of QuerySet.defer() ignore them instead of crashing.

Regression in b3db6c8dcb5145f7d45eff517bcd96460475c879.

Thanks Paco Martínez for the report.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While deferring many-to-many and GFK has no effect, the previous
implementation of QuerySet.defer() ignore them instead of crashing.

Regression in b3db6c8dcb5145f7d45eff517bcd96460475c879.

Thanks Paco Martínez for the report.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #33759 -- Avoided unnecessary subquery in QuerySet.delete() with self-referential subqueries if supported.</title>
<updated>2023-05-01T08:20:20+00:00</updated>
<author>
<name>4the4ryushin</name>
<email>aman2001mi@gmail.com</email>
</author>
<published>2023-04-27T21:03:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/commit/?id=0b0998dc151feb77068e2387c34cc50ef6b356ae'/>
<id>0b0998dc151feb77068e2387c34cc50ef6b356ae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #33766 -- Removed sql.Query.build_filtered_relation_q().</title>
<updated>2023-04-24T06:32:49+00:00</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2023-04-22T03:10:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/commit/?id=83c9765f45e4622e4a5af3adcd92263a28b13624'/>
<id>83c9765f45e4622e4a5af3adcd92263a28b13624</id>
<content type='text'>
It was a copy of sql.Query._add_q that avoided JOIN updates.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was a copy of sql.Query._add_q that avoided JOIN updates.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #33766 -- Removed unused Join.equals().</title>
<updated>2023-04-24T06:32:49+00:00</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2023-04-21T05:57:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/commit/?id=1a13161eab2d040990734f80b3eedea354f6a4ba'/>
<id>1a13161eab2d040990734f80b3eedea354f6a4ba</id>
<content type='text'>
It's unused now that the specialized FilteredRelation.as_sql logic is
no more.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's unused now that the specialized FilteredRelation.as_sql logic is
no more.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #33766 -- Resolved FilteredRelation.condition at referencing time.</title>
<updated>2023-04-24T06:32:44+00:00</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2023-04-20T04:25:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/commit/?id=d660cee5bc68b597503c2a16f3d9928d52f93fb4'/>
<id>d660cee5bc68b597503c2a16f3d9928d52f93fb4</id>
<content type='text'>
The previous implementation resolved condition at Join compilation time
which required introducing a specialized expression resolving mode to
alter the join reuse logic solely during that phase.

FilteredRelation.condition is now resolved when the relation is first
referenced which maintains the existing behavior while allowing the
removal of the specialized resolving mode and address an issue where
conditions couldn't spawn new joins.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous implementation resolved condition at Join compilation time
which required introducing a specialized expression resolving mode to
alter the join reuse logic solely during that phase.

FilteredRelation.condition is now resolved when the relation is first
referenced which maintains the existing behavior while allowing the
removal of the specialized resolving mode and address an issue where
conditions couldn't spawn new joins.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #16055 -- Deprecated get_joining_columns()/get_reverse_joining_columns() methods.</title>
<updated>2023-04-18T10:46:27+00:00</updated>
<author>
<name>David Wobrock</name>
<email>david.wobrock@gmail.com</email>
</author>
<published>2023-04-18T08:20:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/commit/?id=8b1ff0da4b162e87edebd94e61f2cd153e9e159d'/>
<id>8b1ff0da4b162e87edebd94e61f2cd153e9e159d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #16055 -- Fixed crash when filtering against char/text GenericRelation relation on PostgreSQL.</title>
<updated>2023-04-18T10:41:14+00:00</updated>
<author>
<name>David Wobrock</name>
<email>david.wobrock@gmail.com</email>
</author>
<published>2023-04-18T08:19:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/commit/?id=9bbf97bcdb488bb11aebb5bd405549fbec6852cd'/>
<id>9bbf97bcdb488bb11aebb5bd405549fbec6852cd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #34464 -- Fixed queryset aggregation over group by reference.</title>
<updated>2023-04-07T04:57:32+00:00</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2023-04-06T12:19:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/commit/?id=9daf8b4109c3e133eb57349bb44d73cc60c5773c'/>
<id>9daf8b4109c3e133eb57349bb44d73cc60c5773c</id>
<content type='text'>
Regression in 59bea9efd2768102fc9d3aedda469502c218e9b7.

Refs #28477.

Thanks Ian Cubitt for the report.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Regression in 59bea9efd2768102fc9d3aedda469502c218e9b7.

Refs #28477.

Thanks Ian Cubitt for the report.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #34458 -- Fixed QuerySet.defer() crash on attribute names.</title>
<updated>2023-04-05T03:38:10+00:00</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2023-04-04T20:58:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/commit/?id=87c63bd8df0eb0109df333df1264c6a96707d6a4'/>
<id>87c63bd8df0eb0109df333df1264c6a96707d6a4</id>
<content type='text'>
Thanks Andrew Cordery for the report.

Regression in b3db6c8dcb5145f7d45eff517bcd96460475c879.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks Andrew Cordery for the report.

Regression in b3db6c8dcb5145f7d45eff517bcd96460475c879.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #34450 -- Fixed multi-valued JOIN reuse when filtering by expressions.</title>
<updated>2023-04-04T12:35:21+00:00</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2023-03-31T17:48:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/commit/?id=0e1aae7a5f51408b73c5a29e18bd1803dd030930'/>
<id>0e1aae7a5f51408b73c5a29e18bd1803dd030930</id>
<content type='text'>
Thanks Roman Odaisky for the report.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks Roman Odaisky for the report.
</pre>
</div>
</content>
</entry>
</feed>
