From d43156e1e984d7e0848b7d4db218877a29d617b4 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 20 Feb 2016 14:40:07 +0100 Subject: Fixed #26238 -- Raised explicit error for non-editable field in ModelForm Thanks Luke Crouch for the report and Simon Charette for the review. --- docs/ref/models/fields.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index 4a1c9eefbb..de493dda67 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -415,7 +415,8 @@ guaranteed to fit numbers from ``-9223372036854775808`` to 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. +to filter a queryset on a ``BinaryField`` value. It is also not possible to +include a ``BinaryField`` in a :class:`~django.forms.ModelForm`. .. admonition:: Abusing ``BinaryField`` -- cgit v1.3