diff --git a/docs/ref/forms/validation.txt b/docs/ref/forms/validation.txt index 8ab1c26831a..87f9741c1bd 100644 --- a/docs/ref/forms/validation.txt +++ b/docs/ref/forms/validation.txt @@ -171,7 +171,7 @@ following guidelines: Putting it all together:: - raise ValidationErrror( + raise ValidationError( _('Invalid value: %(value)s'), code='invalid', params={'value': '42'},