diff options
| author | Simon Charette <charette.s@gmail.com> | 2025-01-13 22:04:33 -0500 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-01-14 16:21:19 +0100 |
| commit | f07360e8087d3b403d1d12ff696da3138116055a (patch) | |
| tree | 2317665d4cecd2be7e35da8a1756ef51aa710dd2 /tests/composite_pk | |
| parent | 161e79d277ffe8b79b15ad51cb0d23de54270202 (diff) | |
Refs #36075 -- Adjusted MTI handling of _non_pk_concrete_field_names.
Regression in bf7b17d16d3978b2e1cee4a0f7ce8840bd1a8dc4.
Thanks Sage Abdullah for the report.
Diffstat (limited to 'tests/composite_pk')
| -rw-r--r-- | tests/composite_pk/test_update.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/composite_pk/test_update.py b/tests/composite_pk/test_update.py index 4d45e906cf..ec770230fc 100644 --- a/tests/composite_pk/test_update.py +++ b/tests/composite_pk/test_update.py @@ -74,7 +74,7 @@ class CompositePKUpdateTests(TestCase): def test_update_fields_pk_field(self): msg = ( "The following fields do not exist in this model, are m2m fields, " - "or are non-concrete fields: id" + "primary keys, or are non-concrete fields: id" ) with self.assertRaisesMessage(ValueError, msg): self.user_1.save(update_fields=["id"]) |
