summaryrefslogtreecommitdiff
path: root/django/http
diff options
context:
space:
mode:
authorHal Blackburn <hwtb2@cam.ac.uk>2025-11-04 05:58:46 +0000
committerJacob Walls <jacobtylerwalls@gmail.com>2025-11-04 11:59:21 -0500
commit74564946c3b42a2ef7d087047e49873847a7e1d9 (patch)
tree5829dfffec2df515a0a1b1b014c423bcbe5f8b5e /django/http
parente27cff68a32a0183c6b8d110b359c1c858f68cd7 (diff)
Fixed #36704 -- Fixed system check error for proxy model with a composite pk.
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.
Diffstat (limited to 'django/http')
0 files changed, 0 insertions, 0 deletions