From 83fbaa92311dd96e330496a0e443ea71b9c183e2 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Mon, 20 Jul 2020 16:11:23 -0700 Subject: Fixed #31806 -- Made validators include the value in ValidationErrors. --- docs/releases/3.2.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/releases/3.2.txt b/docs/releases/3.2.txt index 5e75f497f4..225f3855f3 100644 --- a/docs/releases/3.2.txt +++ b/docs/releases/3.2.txt @@ -327,7 +327,9 @@ Utilities Validators ~~~~~~~~~~ -* ... +* Built-in validators now include the provided value in the ``params`` argument + of a raised :exc:`~django.core.exceptions.ValidationError`. This allows + custom error messages to use the ``%(value)s`` placeholder. .. _backwards-incompatible-3.2: -- cgit v1.3