  from django.db import models
  from django.utils.encoding import python_2_unicode_compatible
  
  
  @python_2_unicode_compatible
  class Author(models.Model):
      name = models.CharField(max_length=20)
      age = models.IntegerField(null=True)
      birthdate = models.DateField(null=True)
      average_rating = models.FloatField(null=True)
 
</s> remove @python_2_unicode_compatible
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add  </s> remove from django.utils.encoding import python_2_unicode_compatible
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add 
  from django.db import models
  from django.utils.encoding import python_2_unicode_compatible
  
  

  class Author(models.Model):
      name = models.CharField(max_length=20)
      age = models.IntegerField(null=True)
      birthdate = models.DateField(null=True)
      average_rating = models.FloatField(null=True)
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
tests/custom_lookups/models.py