#33198 closed Bug (fixed)
BinaryField documentation references length in characters, which is incorrect
| Reported by: | Gavin Wahl | Owned by: | Nick Frazier |
|---|---|---|---|
| Component: | Documentation | Version: | 3.2 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
From the BinaryField documentation:
.. attribute:: BinaryField.max_length
The maximum length (in characters) of the field. The maximum length is
enforced in Django's validation using
:class:`~django.core.validators.MaxLengthValidator`.
BinaryFields do not store characters, they store bytes. It should be 'The maximum length (in bytes) of the field'
Change History (6)
comment:1 by , 4 years ago
| Easy pickings: | set |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 4 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
Will submit a PR for this later today.