1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +00:00

[3.2.x] Fixed #33198 -- Corrected BinaryField.max_length docs.

Backport of 0d4e575c96d408e0efb4dfd0cbfc864219776950 from main
This commit is contained in:
Nick Frazier 2021-10-16 17:31:29 -04:00 committed by Mariusz Felisiak
parent dbcd81841f
commit fdc1c6435c

View File

@ -567,8 +567,8 @@ case it can't be included in a :class:`~django.forms.ModelForm`.
.. attribute:: BinaryField.max_length .. attribute:: BinaryField.max_length
The maximum length (in characters) of the field. The maximum length is The maximum length (in bytes) of the field. The maximum length is enforced
enforced in Django's validation using in Django's validation using
:class:`~django.core.validators.MaxLengthValidator`. :class:`~django.core.validators.MaxLengthValidator`.
.. admonition:: Abusing ``BinaryField`` .. admonition:: Abusing ``BinaryField``