[5.2.x] Fixed #36314 -- Fixed MinimumLengthValidator error message translation.

Regression in ec7d69035a.

Thank you Gabriel Trouvé for the report and Claude Paroz for the review.

Backport of d469db978e from main.
This commit is contained in:
Ahmed Nassar 2025-04-16 17:02:56 +02:00 committed by Sarah Boyce
parent cbdb1bed04
commit adf2991d32
3 changed files with 41 additions and 8 deletions

View file

@ -36,3 +36,7 @@ Bugfixes
* Fixed a regression in Django 5.2 that caused improper values to be returned
from ``QuerySet.values_list()`` when duplicate field names were specified
(:ticket:`36288`).
* Fixed a regression in Django 5.2 where the password validation error message
from ``MinimumLengthValidator`` was not translated when using non-English
locales (:ticket:`36314`).