  from django.core.exceptions import ValidationError
  from django.test import TestCase
  
  from .models import DataModel
  
  
 
</s> remove to filter a queryset on a ``BinaryField`` value. It is also not possible to
include a ``BinaryField`` in a :class:`~django.forms.ModelForm`.
 </s> add to filter a queryset on a ``BinaryField`` value.

By default, ``BinaryField`` sets :attr:`~Field.editable` to ``False``, in which
case it can't be included in a :class:`~django.forms.ModelForm`.

.. versionchanged:: 2.1

    Older versions don't allow setting ``editable`` to ``True``. </s> remove         del kwargs['editable']
 </s> add         if self.editable:
            kwargs['editable'] = True
        else:
            del kwargs['editable'] </s> remove         kwargs['editable'] = False
 </s> add         kwargs.setdefault('editable', False)
from django.db import models
  from django.core.exceptions import ValidationError
from django.db import models
  from django.test import TestCase
  
  from .models import DataModel
  
  
add keep keep keep keep keep
 Fixed #28937 -- Allowed BinaryField to be editable=True. 
tests/model_fields/test_binaryfield.py