<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/update_only_fields, branch main</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=main</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2025-09-13T22:27:50Z</updated>
<entry>
<title>Fixed #27222 -- Refreshed model field values assigned expressions on save().</title>
<updated>2025-09-13T22:27:50Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2025-03-19T05:39:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=94680437a45a71c70ca8bd2e68b72aa1e2eff337'/>
<id>urn:sha1:94680437a45a71c70ca8bd2e68b72aa1e2eff337</id>
<content type='text'>
Removed the can_return_columns_from_insert skip gates on existing
field_defaults tests to confirm the expected number of queries are
performed and that returning field overrides are respected.
</content>
</entry>
<entry>
<title>Fixed #33579 -- Specialized exception raised on forced update failures.</title>
<updated>2025-03-10T20:09:15Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2025-03-09T11:04:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=ab148c02cedbac492f29930dcd5346e1af052635'/>
<id>urn:sha1:ab148c02cedbac492f29930dcd5346e1af052635</id>
<content type='text'>
Raising DatabaseError directly made it harder than it should to
differentiate between IntegrityError when a forced update resulted in no
affected rows.

Introducing a specialized exception allows for callers to more easily
silence, log, or turn them update failures into user facing exceptions
(e.g. 404s).

Thanks Mariusz for the review.
</content>
</entry>
<entry>
<title>Refs #35060 -- Removed passing positional arguments to Model.save()/asave() per deprecation timeline.</title>
<updated>2025-01-15T21:28:37Z</updated>
<author>
<name>Sarah Boyce</name>
<email>42296566+sarahboyce@users.noreply.github.com</email>
</author>
<published>2024-12-13T08:16:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d5fec03dad035e88494bf55194cbbbe4b20b5e5b'/>
<id>urn:sha1:d5fec03dad035e88494bf55194cbbbe4b20b5e5b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #36075 -- Adjusted MTI handling of _non_pk_concrete_field_names.</title>
<updated>2025-01-14T15:21:19Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2025-01-14T03:04:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=f07360e8087d3b403d1d12ff696da3138116055a'/>
<id>urn:sha1:f07360e8087d3b403d1d12ff696da3138116055a</id>
<content type='text'>
Regression in bf7b17d16d3978b2e1cee4a0f7ce8840bd1a8dc4.

Thanks Sage Abdullah for the report.
</content>
</entry>
<entry>
<title>Refs #35060 -- Adjusted deprecation warning stacklevel in Model.save()/asave().</title>
<updated>2024-08-28T14:44:05Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2024-08-09T17:41:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=52ed2b645e1dd8c9a874cfd21c4c9f2500032626'/>
<id>urn:sha1:52ed2b645e1dd8c9a874cfd21c4c9f2500032626</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #35554, Refs #35060 -- Corrected deprecated *args parsing in Model.save()/asave().</title>
<updated>2024-06-25T16:12:10Z</updated>
<author>
<name>Adam Johnson</name>
<email>me@adamj.eu</email>
</author>
<published>2024-06-25T16:12:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=28522c3c8d5eb581347aececc3ac61c134528114'/>
<id>urn:sha1:28522c3c8d5eb581347aececc3ac61c134528114</id>
<content type='text'>
The transitional logic added to deprecate the usage of *args for
Model.save()/asave() introduced two issues that this branch fixes:
 * Passing extra positional arguments no longer raised TypeError.
 * Passing a positional but empty update_fields would save all fields.

Co-authored-by: Natalia &lt;124304+nessita@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Refs #33476 -- Reformatted code with Black.</title>
<updated>2022-02-07T19:37:05Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2022-02-03T19:24:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=9c19aff7c7561e3a82978a272ecdaad40dda5c00'/>
<id>urn:sha1:9c19aff7c7561e3a82978a272ecdaad40dda5c00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #31382 -- Made Model.save(update_fields=...) raise ValueError on non-concrete fields.</title>
<updated>2020-08-12T19:13:55Z</updated>
<author>
<name>Pat Garcia</name>
<email>commonzenmedia@gmail.com</email>
</author>
<published>2020-08-12T01:05:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=8954f255bbf5f4ee997fd6de62cb50fc9b5dd697'/>
<id>urn:sha1:8954f255bbf5f4ee997fd6de62cb50fc9b5dd697</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed unused __str__() methods in tests models.</title>
<updated>2020-04-15T18:20:32Z</updated>
<author>
<name>Author: Mads Jensen</name>
<email>mje@inducks.org</email>
</author>
<published>2020-01-22T14:05:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=6461583b6cc257d25880ef9a9fd7e2125ac53ce1'/>
<id>urn:sha1:6461583b6cc257d25880ef9a9fd7e2125ac53ce1</id>
<content type='text'>
Co-Authored-By: Mariusz Felisiak &lt;felisiak.mariusz@gmail.com&gt;
Co-Authored-By: Hasan Ramezani &lt;hasan.r67@gmail.com&gt;
</content>
</entry>
<entry>
<title>Moved choices inside of test models per coding style.</title>
<updated>2018-12-10T14:28:49Z</updated>
<author>
<name>Manan</name>
<email>manan.yadav02@gmail.com</email>
</author>
<published>2018-12-10T14:28:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=3a4558b84f76c1dbe54c8c38e90e4048c2bd3e9a'/>
<id>urn:sha1:3a4558b84f76c1dbe54c8c38e90e4048c2bd3e9a</id>
<content type='text'>
</content>
</entry>
</feed>
