Fixed #33198 -- Corrected BinaryField.max_length docs.

This commit is contained in:
Nick Frazier 2021-10-16 17:31:29 -04:00 committed by Mariusz Felisiak
parent 569a33579c
commit 0d4e575c96
1 changed files with 2 additions and 2 deletions

View File

@ -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``