diff options
| author | Nick Frazier <nrf@nickfrazier.com> | 2021-10-16 17:31:29 -0400 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-10-18 08:24:08 +0200 |
| commit | f5fd03aebe54f28a62436ef81aeed50fef594619 (patch) | |
| tree | 0b88cd76fb351b04ca497d4de8f900e2591cd0b4 /docs/ref | |
| parent | 6a16d5303990a90684befa396b30ce5265abf0ce (diff) | |
[4.0.x] Fixed #33198 -- Corrected BinaryField.max_length docs.
Backport of 0d4e575c96d408e0efb4dfd0cbfc864219776950 from main
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/models/fields.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index f2b88139e5..d30797a15b 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -578,8 +578,8 @@ case it can't be included in a :class:`~django.forms.ModelForm`. .. attribute:: BinaryField.max_length - The maximum length (in characters) of the field. The maximum length is - enforced in Django's validation using + The maximum length (in bytes) of the field. The maximum length is enforced + in Django's validation using :class:`~django.core.validators.MaxLengthValidator`. .. admonition:: Abusing ``BinaryField`` |
