summaryrefslogtreecommitdiff
path: root/tests/model_fields/test_integerfield.py
diff options
context:
space:
mode:
authorMark Gensler <mark.gensler@protonmail.com>2024-06-25 15:04:48 +0100
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-07-04 11:47:20 +0200
commit2da007737cda936ef2ee87271bf9e69eb93cd3fe (patch)
tree154dd2a4d8737327339ee73db12dfea4ff15e3a2 /tests/model_fields/test_integerfield.py
parent3b5d04f879f6d3d8ff7f5d82b4a7c801b71b2fd0 (diff)
[5.1.x] Fixed #35560 -- Made Model.full_clean() ignore GeneratedFields for constraints.
Accessing generated field values on unsaved models caused a crash when validating CheckConstraints and UniqueConstraints with expressions. Backport of 1005c2abd1ef0c156f449641e38c33e473989d37 from main.
Diffstat (limited to 'tests/model_fields/test_integerfield.py')
0 files changed, 0 insertions, 0 deletions