<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/django.git/tests, 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>Refs #32339 -- Fixed super() call in deprecated renderers.</title>
<updated>2023-05-17T14:11:43+00:00</updated>
<author>
<name>Carlton Gibson</name>
<email>carlton.gibson@noumenal.es</email>
</author>
<published>2023-05-17T14:11:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/commit/?id=4a5753fb0af28967c9ad6a5be8966cdbd933ad64'/>
<id>4a5753fb0af28967c9ad6a5be8966cdbd933ad64</id>
<content type='text'>
Missing function call `()` leads to:

TypeError: descriptor '__init__' of 'super' object needs an argument

Regression in b209518089131c6b4afd18b1d9c320ba3521c5ab.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Missing function call `()` leads to:

TypeError: descriptor '__init__' of 'super' object needs an argument

Regression in b209518089131c6b4afd18b1d9c320ba3521c5ab.</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #34568 -- Made makemigrations --update respect --name option.</title>
<updated>2023-05-17T11:14:43+00:00</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2023-05-17T11:14:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/commit/?id=c52f4295f254e1c14af769d22b1a5f516a941f58'/>
<id>c52f4295f254e1c14af769d22b1a5f516a941f58</id>
<content type='text'>
Thanks David Sanders for the report.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks David Sanders for the report.</pre>
</div>
</content>
</entry>
<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 #34539 -- Restored get_prep_value() call when adapting JSONFields.</title>
<updated>2023-05-16T06:26:41+00:00</updated>
<author>
<name>Julie Rymer</name>
<email>rymerjulie.pro@gmail.com</email>
</author>
<published>2023-05-15T13:19:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/commit/?id=0ec60661e61b153e6bcec64649b1b7f524eb3e18'/>
<id>0ec60661e61b153e6bcec64649b1b7f524eb3e18</id>
<content type='text'>
Regression in 5c23d9f0c32f166c81ecb6f3f01d5077a6084318.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Regression in 5c23d9f0c32f166c81ecb6f3f01d5077a6084318.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #470 -- Added support for database defaults on fields.</title>
<updated>2023-05-12T17:11:40+00:00</updated>
<author>
<name>Ian Foote</name>
<email>python@ian.feete.org</email>
</author>
<published>2020-11-22T22:27:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/commit/?id=7414704e88d73dafbcfbb85f9bc54cb6111439d3'/>
<id>7414704e88d73dafbcfbb85f9bc54cb6111439d3</id>
<content type='text'>
Special thanks to Hannes Ljungberg for finding multiple implementation
gaps.

Thanks also to Simon Charette, Adam Johnson, and Mariusz Felisiak for
reviews.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Special thanks to Hannes Ljungberg for finding multiple implementation
gaps.

Thanks also to Simon Charette, Adam Johnson, and Mariusz Felisiak for
reviews.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #34558 -- Fixed QuerySet.bulk_create() crash with Now() on Oracle.</title>
<updated>2023-05-11T16:22:55+00:00</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2023-05-11T16:22:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/commit/?id=72a86ceb33749d4fd17d3d2910e19b9d9ca1643b'/>
<id>72a86ceb33749d4fd17d3d2910e19b9d9ca1643b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #34553 -- Fixed improper % escaping of literal in constraints.</title>
<updated>2023-05-10T15:25:57+00:00</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2023-05-10T02:34:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/commit/?id=ffff17d4b0117cce59f65c9f56fa164694eafd23'/>
<id>ffff17d4b0117cce59f65c9f56fa164694eafd23</id>
<content type='text'>
Proper escaping of % in string literals used when defining constaints
was attempted (a8b3f96f6) by overriding quote_value of Postgres and
Oracle schema editor. The same approach was used when adding support for
constraints to the MySQL/MariaDB backend (1fc2c70).

Later on it was discovered that this approach was not appropriate and
that a preferable one was to pass params=None when executing the
constraint creation DDL to avoid any form of interpolation in the first
place (42e8cf47).

When the second patch was applied the corrective of the first were not
removed which caused % literals to be unnecessary doubled. This flew
under the radar because the existings test were crafted in a way that
consecutive %% didn't catch regressions.

This commit introduces an extra test for __exact lookups which
highlights more adequately % doubling problems but also adjust a
previous __endswith test to cover % doubling problems (%\% -&gt; %%\%%).

Thanks Thomas Kolar for the report.

Refs #32369, #30408, #30593.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Proper escaping of % in string literals used when defining constaints
was attempted (a8b3f96f6) by overriding quote_value of Postgres and
Oracle schema editor. The same approach was used when adding support for
constraints to the MySQL/MariaDB backend (1fc2c70).

Later on it was discovered that this approach was not appropriate and
that a preferable one was to pass params=None when executing the
constraint creation DDL to avoid any form of interpolation in the first
place (42e8cf47).

When the second patch was applied the corrective of the first were not
removed which caused % literals to be unnecessary doubled. This flew
under the radar because the existings test were crafted in a way that
consecutive %% didn't catch regressions.

This commit introduces an extra test for __exact lookups which
highlights more adequately % doubling problems but also adjust a
previous __endswith test to cover % doubling problems (%\% -&gt; %%\%%).

Thanks Thomas Kolar for the report.

Refs #32369, #30408, #30593.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #34553 -- Split constraint escaping test in subtests.</title>
<updated>2023-05-10T15:25:57+00:00</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2023-05-10T02:18:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/commit/?id=e0f8104a968d316925f736e961a63bef73a686b4'/>
<id>e0f8104a968d316925f736e961a63bef73a686b4</id>
<content type='text'>
This ensures that constraint violations are tested in isolation from
each other as an IntegrityError only ensures a least one constraint is
violated.

For example, the assertion added in 42e8cf4 break both the
name_constraint_rhs and the rebate_constraint constraints and thus
doesn't constitute a proper regression test. Refs #32369.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This ensures that constraint violations are tested in isolation from
each other as an IntegrityError only ensures a least one constraint is
violated.

For example, the assertion added in 42e8cf4 break both the
name_constraint_rhs and the rebate_constraint constraints and thus
doesn't constitute a proper regression test. Refs #32369.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #34554 -- Fixed Reverse(Value(…)) crash on Oracle.</title>
<updated>2023-05-10T15:22:45+00:00</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2023-05-10T15:22:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/commit/?id=6e32d1fa1dafd0c9cd9f93997ecebb26cd9a1b62'/>
<id>6e32d1fa1dafd0c9cd9f93997ecebb26cd9a1b62</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #34534 -- Reduced Add/RemoveConstraint and Add/RenameIndex operations when optimizing migrations.</title>
<updated>2023-05-09T10:45:09+00:00</updated>
<author>
<name>Akash Kumar Sen</name>
<email>Akash-Kumar-Sen@users.noreply.github.com</email>
</author>
<published>2023-05-08T17:54:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/django.git/commit/?id=92f0017133c2d31fbd527bab7b08d4d49a582143'/>
<id>92f0017133c2d31fbd527bab7b08d4d49a582143</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
