Simon Charette
d4d2e09f19
[5.2.x] Fixed #36122 -- Raised FieldError when updating with composite reference value.
...
Thanks Jacob Walls for the report and test.
Backport of efec74b90868c2e611f863bf4301d92ce08067e8 from main.
2025-01-28 13:19:36 +01:00
Jacob Walls
791ed4fd97
[5.2.x] Fixed #36120 -- Raised FieldError when targeting a composite primary key field with QuerySet.update().
...
Backport of 72ff18d41cfb004ae180bdf87fd8bad93041c691 from main.
2025-01-28 11:20:51 +01:00
Simon Charette
f07360e808
Refs #36075 -- Adjusted MTI handling of _non_pk_concrete_field_names.
...
Regression in bf7b17d16d3978b2e1cee4a0f7ce8840bd1a8dc4.
Thanks Sage Abdullah for the report.
2025-01-14 16:21:19 +01:00
Sarah Boyce
bf7b17d16d
Refs #36075 -- Used field in pk_fields over field.primary_key.
2025-01-13 12:04:59 +01:00
Simon Charette
af6336f2c8
Fixed #36074 -- Excluded composite primary key fields on save() updates.
2025-01-09 17:38:42 +01:00
Bendeguz Csirmaz
978aae4334
Fixed #373 -- Added CompositePrimaryKey.
...
Thanks Lily Foote and Simon Charette for reviews and mentoring
this Google Summer of Code 2024 project.
Co-authored-by: Simon Charette <charette.s@gmail.com>
Co-authored-by: Lily Foote <code@lilyf.org>
2024-11-29 11:23:04 +01:00