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:36 +0200 |
commit | fdc1c6435c8fb9e720169ef0aebf87c33f1d86c2 (patch) | |
tree | dea1c7a386666652c69691d46b11688eab5cdd70 | |
parent | dbcd81841f679d368a6ebf254f040455a83acf1f (diff) | |
download | django-fdc1c6435c8fb9e720169ef0aebf87c33f1d86c2.tar.gz |
[3.2.x] Fixed #33198 -- Corrected BinaryField.max_length docs.
Backport of 0d4e575c96d408e0efb4dfd0cbfc864219776950 from main
-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 64ab3e3e0b..3d671a9aac 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -567,8 +567,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`` |