      description = _("Raw binary data")
      empty_values = [None, b'']
  
      def __init__(self, *args, **kwargs):
          kwargs['editable'] = False
          super().__init__(*args, **kwargs)
          if self.max_length is not None:
              self.validators.append(validators.MaxLengthValidator(self.max_length))
  
      def deconstruct(self):
 
</s> remove         del kwargs['editable']
 </s> add         if self.editable:
            kwargs['editable'] = True
        else:
            del kwargs['editable'] </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``.
        kwargs.setdefault('editable', False)
      description = _("Raw binary data")
      empty_values = [None, b'']
  
      def __init__(self, *args, **kwargs):
        kwargs.setdefault('editable', False)
          super().__init__(*args, **kwargs)
          if self.max_length is not None:
              self.validators.append(validators.MaxLengthValidator(self.max_length))
  
      def deconstruct(self):
keep keep keep keep replace keep keep keep keep keep
 Fixed #28937 -- Allowed BinaryField to be editable=True. 
django/db/models/fields/__init__.py