diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-07-20 16:11:23 -0700 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-07-27 13:03:26 +0200 |
| commit | 83fbaa92311dd96e330496a0e443ea71b9c183e2 (patch) | |
| tree | 0549ca21011020a07904a45288b6a710bbcb7462 /docs | |
| parent | 013e06bb3795bcf840e29576fda7720e26cd7e01 (diff) | |
Fixed #31806 -- Made validators include the value in ValidationErrors.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/3.2.txt | 4 |
1 files changed, 3 insertions, 1 deletions
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: |
