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 07:27:00 +0200 |
| commit | 0d4e575c96d408e0efb4dfd0cbfc864219776950 (patch) | |
| tree | 3207311a5a721a974f9aa3117cd2631df27ded01 /docs | |
| parent | 569a33579c3cca5f801c544d9b52a34e3c779424 (diff) | |
Fixed #33198 -- Corrected BinaryField.max_length docs.
Diffstat (limited to 'docs')
| -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 7f6762909a..be7e2a8469 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -573,8 +573,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`` |
