  from django.contrib.contenttypes.fields import (
      GenericForeignKey, GenericRelation,
  )
  from django.db import models
  from django.utils.encoding import python_2_unicode_compatible
  
  
  class PersonManager(models.Manager):
      def get_fun_people(self):
          return self.filter(fun=True)
 
</s> remove from django.utils.encoding import force_text, python_2_unicode_compatible
 </s> add from django.utils.encoding import force_text </s> remove from django.utils.encoding import python_2_unicode_compatible
 </s> add  </s> remove from django.utils.encoding import python_2_unicode_compatible
 </s> add  </s> remove from django.utils.encoding import python_2_unicode_compatible
 </s> add  </s> remove from django.utils.encoding import python_2_unicode_compatible
 </s> add 
  from django.contrib.contenttypes.fields import (
      GenericForeignKey, GenericRelation,
  )
  from django.db import models

  
  
  class PersonManager(models.Manager):
      def get_fun_people(self):
          return self.filter(fun=True)
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
tests/custom_managers/models.py