  if you prefer. You must be careful to encode the results correctly, though.
  """
  
  from django.db import models
  from django.utils.encoding import python_2_unicode_compatible
  
  
  class Article(models.Model):
      headline = models.CharField(max_length=100)
      pub_date = models.DateTimeField()
 
</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 @python_2_unicode_compatible
 </s> add  </s> remove from django.utils.encoding import python_2_unicode_compatible
 </s> add 
  if you prefer. You must be careful to encode the results correctly, though.
  """
  
  from django.db import models

  
  
  class Article(models.Model):
      headline = models.CharField(max_length=100)
      pub_date = models.DateTimeField()
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
tests/str/models.py