  from django.utils.timezone import activate, deactivate, override, utc
  
  import rest_framework
  from rest_framework import exceptions, serializers
  from rest_framework.fields import DjangoImageField, is_simple_callable
  
  try:
      import typings
  except ImportError:
      typings = False
 
</s> remove     MinValueValidator, unicode_repr, unicode_to_repr
 </s> add     MinValueValidator, ProhibitNullCharactersValidator, unicode_repr,
    unicode_to_repr </s> remove         'min_length': _('Ensure this field has at least {min_length} characters.')
 </s> add         'min_length': _('Ensure this field has at least {min_length} characters.'),
from rest_framework.compat import ProhibitNullCharactersValidator
  from django.utils.timezone import activate, deactivate, override, utc
  
  import rest_framework
  from rest_framework import exceptions, serializers
from rest_framework.compat import ProhibitNullCharactersValidator
  from rest_framework.fields import DjangoImageField, is_simple_callable
  
  try:
      import typings
  except ImportError:
      typings = False
keep keep keep add keep keep keep keep keep keep
 Prohibit null characters in CharField by default (#6073)

* Implement an allow_null_bytes argument to CharField (default True)
* Switch to using native ProhibitNullCharactersValidator instead 
tests/test_fields.py