diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-09-25 10:04:10 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-09-25 10:04:50 +0200 |
| commit | d05a1f5792bd7b7c0b3c75494ce128453b88d3c7 (patch) | |
| tree | 6093961e6f9244fd9d748a3d074ec64ed6c1727f /docs/ref/forms | |
| parent | 562a4824d78f0ffd0daaf16cb22421767547d77c (diff) | |
[3.1.x] Fixed typo and indentation in docs/ref/forms/fields.txt.
Backport of 10a289745f8ecb558f5c22d734315c96d8d4b96e from master
Diffstat (limited to 'docs/ref/forms')
| -rw-r--r-- | docs/ref/forms/fields.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt index 71777a468c..4a479bf5e2 100644 --- a/docs/ref/forms/fields.txt +++ b/docs/ref/forms/fields.txt @@ -373,13 +373,13 @@ For each field, we describe the default widget used if you don't specify ``min_length`` are provided. Otherwise, all inputs are valid. * Error message keys: ``required``, ``max_length``, ``min_length`` - Has three optional arguments for validation: + Has four optional arguments for validation: .. attribute:: max_length .. attribute:: min_length - If provided, these arguments ensure that the string is at most or at least - the given length. + If provided, these arguments ensure that the string is at most or at + least the given length. .. attribute:: strip @@ -774,7 +774,7 @@ For each field, we describe the default widget used if you don't specify .. attribute:: max_value .. attribute:: min_value - These control the range of values permitted in the field. + These control the range of values permitted in the field. ``JSONField`` ------------- @@ -1005,7 +1005,8 @@ For each field, we describe the default widget used if you don't specify .. attribute:: max_length .. attribute:: min_length - These are the same as ``CharField.max_length`` and ``CharField.min_length``. + These are the same as ``CharField.max_length`` and + ``CharField.min_length``. ``UUIDField`` ------------- |
