summaryrefslogtreecommitdiff
path: root/docs/ref/models/fields.txt
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-09-26 11:38:12 -0700
committerTim Graham <timograham@gmail.com>2018-09-26 15:07:06 -0400
commita6e7ebf4ee91bbdcfd8cb5b90564ff6ccbac4cc0 (patch)
treed57ab347e23b8348d4678a7e0c130bc0c3ae6bd1 /docs/ref/models/fields.txt
parentf5335bc745d4f86d355b69549712885fd1634574 (diff)
[2.1.x] Added test of filtering on BinaryField and corrected docs.
Backport of fb2964a4106b1282c4179b6fbbd0374f5be1ccac from master.
Diffstat (limited to 'docs/ref/models/fields.txt')
-rw-r--r--docs/ref/models/fields.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index 8c3f9ae7ba..89abf2ab2f 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -416,9 +416,8 @@ guaranteed to fit numbers from ``-9223372036854775808`` to
.. class:: BinaryField(max_length=None, **options)
-A field to store raw binary data. It only supports ``bytes`` assignment. Be
-aware that this field has limited functionality. For example, it is not possible
-to filter a queryset on a ``BinaryField`` value.
+A field to store raw binary data. It can be assigned :class:`bytes` or a
+:class:`memoryview`.
By default, ``BinaryField`` sets :attr:`~Field.editable` to ``False``, in which
case it can't be included in a :class:`~django.forms.ModelForm`.