  
  For example::
  
      from django.db import models
      from django.utils.encoding import python_2_unicode_compatible
  
      @python_2_unicode_compatible  # only if you need to support Python 2
      class Person(models.Model):
          first_name = models.CharField(max_length=50)
          last_name = models.CharField(max_length=50)
 
</s> remove     @python_2_unicode_compatible  # only if you need to support Python 2
 </s> add  </s> remove     @python_2_unicode_compatible  # only if you need to support Python 2
 </s> add  </s> remove     from django.utils.encoding import python_2_unicode_compatible
 </s> add  </s> remove     @python_2_unicode_compatible  # only if you need to support Python 2
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add 
  
  For example::
  
      from django.db import models

  
      @python_2_unicode_compatible  # only if you need to support Python 2
      class Person(models.Model):
          first_name = models.CharField(max_length=50)
          last_name = models.CharField(max_length=50)
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
docs/ref/models/instances.txt