Skip to content

Commit

Permalink
[3.2.x] Fixed #33198 -- Corrected BinaryField.max_length docs.
Browse files Browse the repository at this point in the history
Backport of 0d4e575 from main
  • Loading branch information
Nick Frazier authored and felixxm committed Oct 18, 2021
1 parent dbcd818 commit fdc1c64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ref/models/fields.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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``
Expand Down

0 comments on commit fdc1c64

Please sign in to comment.