mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
[4.0.x] Fixed #33198 -- Corrected BinaryField.max_length docs.
Backport of 0d4e575c96
from main
This commit is contained in:
parent
6a16d53039
commit
f5fd03aebe
1 changed files with 2 additions and 2 deletions
|
@ -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``
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue