1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

[4.2.x] Fixed #34319 -- Fixed Model.validate_constraints() crash on ValidationError with no code.

Thanks Mateusz Kurowski for the report.

Regression in 667105877e.
Backport of 2fd755b361 from main
This commit is contained in:
Mariusz Felisiak
2023-02-08 16:38:55 +01:00
parent 1f193f7f56
commit 836ae73a89
3 changed files with 27 additions and 3 deletions

View File

@@ -12,4 +12,5 @@ in 4.1.6.
Bugfixes
========
* ...
* Fixed a bug in Django 4.1 that caused a crash of model validation on
``ValidationError`` with no ``code`` (:ticket:`34319`).