diff options
| author | minusf <minusf@gmail.com> | 2015-02-03 14:03:05 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-03 12:27:20 -0500 |
| commit | dfa07166642b53f502fe63642ccdad900ed8f526 (patch) | |
| tree | cd86c40207069ca9f405648a8ad0c94c32fc2bcb /docs | |
| parent | 346451164e56b01d8174bb21e3354f47db2764ae (diff) | |
[1.7.x] Fixed typos in docs/ref/forms/validation.txt.
Backport of 66f5aa9fa5d53ddd7fbdb7ddac39c429f0c1b4fd from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/forms/validation.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/forms/validation.txt b/docs/ref/forms/validation.txt index 7f25a4e57e..167ab4b44c 100644 --- a/docs/ref/forms/validation.txt +++ b/docs/ref/forms/validation.txt @@ -36,7 +36,7 @@ overridden: ``ValidationError``. * The ``validate()`` method on a Field handles field-specific validation - that is not suitable for a validator, It takes a value that has been + that is not suitable for a validator. It takes a value that has been coerced to correct datatype and raises ``ValidationError`` on any error. This method does not return anything and shouldn't alter the value. You should override it to handle validation logic that you can't or don't @@ -261,7 +261,7 @@ available and for an example of how to write a validator. Form field default cleaning ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Let's firstly create a custom form field that validates its input is a string +Let's first create a custom form field that validates its input is a string containing comma-separated email addresses. The full class looks like this:: from django import forms |
