<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/django/db/models/base.py, branch stable/5.2.x</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=stable%2F5.2.x</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=stable%2F5.2.x'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2025-11-04T17:00:58Z</updated>
<entry>
<title>[5.2.x] Fixed #36704 -- Fixed system check error for proxy model with a composite pk.</title>
<updated>2025-11-04T17:00:58Z</updated>
<author>
<name>Hal Blackburn</name>
<email>hwtb2@cam.ac.uk</email>
</author>
<published>2025-11-04T05:58:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=cbdf128cb316bccf9ca3b3b4966e57bd050bfc8a'/>
<id>urn:sha1:cbdf128cb316bccf9ca3b3b4966e57bd050bfc8a</id>
<content type='text'>
Proxy models subclassing a model with a CompositePrimaryKey were
incorrectly reporting check errors because the check that requires only
local fields to be used in a composite pk was evaluated against the proxy
subclass, which has no fields.

To fix this, composite pk field checks are not evaluated against
proxy subclasses, as none of the checks are applicable to proxy
subclasses. This also has the benefit of not double-reporting real check
errors from an invalid superclass pk.

Thanks Clifford Gama for the review.

Backport of 74564946c3b42a2ef7d087047e49873847a7e1d9 from main.
</content>
</entry>
<entry>
<title>Fixed #36100 -- Checked if composite pk is set in get_next/get_previous.</title>
<updated>2025-01-15T16:23:46Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2025-01-15T12:49:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=1602666b79ab438930b74b576f2fa1b6bcf0377b'/>
<id>urn:sha1:1602666b79ab438930b74b576f2fa1b6bcf0377b</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>Fixed #36093 -- Adjusted unique checks to account for inherited primary keys.</title>
<updated>2025-01-14T15:21:19Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2025-01-13T18:53:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=4bfec242b488b174f7d386ab5bbd3363751cdb93'/>
<id>urn:sha1:4bfec242b488b174f7d386ab5bbd3363751cdb93</id>
<content type='text'>
Regression in bf7b17d16d3978b2e1cee4a0f7ce8840bd1a8dc4 refs #36075.

Thanks Sage Abdullah for the report and tests.
</content>
</entry>
<entry>
<title>Fixed #36092 -- Disallowed non-local fields in composite primary keys.</title>
<updated>2025-01-13T13:21:41Z</updated>
<author>
<name>Bendeguz Csirmaz</name>
<email>csirmazbendeguz@gmail.com</email>
</author>
<published>2025-01-13T11:33:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d83fb782d33aa7aaa1b2c995c648a59eddb46047'/>
<id>urn:sha1:d83fb782d33aa7aaa1b2c995c648a59eddb46047</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #36075 -- Used field in pk_fields over field.primary_key.</title>
<updated>2025-01-13T11:04:59Z</updated>
<author>
<name>Sarah Boyce</name>
<email>42296566+sarahboyce@users.noreply.github.com</email>
</author>
<published>2025-01-09T12:37:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=bf7b17d16d3978b2e1cee4a0f7ce8840bd1a8dc4'/>
<id>urn:sha1:bf7b17d16d3978b2e1cee4a0f7ce8840bd1a8dc4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #36064 -- Skipped an UPDATE when adding a model instance with a composite primary key with default values.</title>
<updated>2025-01-10T10:43:38Z</updated>
<author>
<name>Bendeguz Csirmaz</name>
<email>csirmazbendeguz@gmail.com</email>
</author>
<published>2025-01-10T07:47:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=585160586336f3bcd7b694f53cf10db73c56981c'/>
<id>urn:sha1:585160586336f3bcd7b694f53cf10db73c56981c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #36064 -- Added Model.has_db_default() to encapsulate NOT_PROVIDED checks.</title>
<updated>2025-01-10T07:31:15Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2024-12-10T03:14:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=9fa4d07ce0729850661a31a6b37c6b48f13d2266'/>
<id>urn:sha1:9fa4d07ce0729850661a31a6b37c6b48f13d2266</id>
<content type='text'>
This avoids many awkward checks against NOT_PROVIDED and provides symmetry
with Field.has_default() which is also the reason why it wasn't made a
property.
</content>
</entry>
<entry>
<title>Fixed #36074 -- Excluded composite primary key fields on save() updates.</title>
<updated>2025-01-09T16:38:42Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2025-01-09T05:29:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=af6336f2c82fd6e5a0e42a7650a3a132c3362a0f'/>
<id>urn:sha1:af6336f2c82fd6e5a0e42a7650a3a132c3362a0f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #35992, Fixed #35997 -- Added system check for CompositePrimaryKeys in Meta.indexes/constraints/unique_together.</title>
<updated>2024-12-17T09:28:40Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2024-12-11T20:37:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=2249370c8611d97f8bdb6003fb7b4d8fd3646202'/>
<id>urn:sha1:2249370c8611d97f8bdb6003fb7b4d8fd3646202</id>
<content type='text'>
CompositePrimaryKeys are not supported in any of these options.
</content>
</entry>
</feed>
