  from django.db import models
  from django.utils.encoding import python_2_unicode_compatible
  
  
  @python_2_unicode_compatible
  class TaggedItem(models.Model):
      """A tag on an item."""
      tag = models.SlugField()
      content_type = models.ForeignKey(ContentType, models.CASCADE)
      object_id = models.PositiveIntegerField()
 
</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 TaggedItem(models.Model):
      """A tag on an item."""
      tag = models.SlugField()
      content_type = models.ForeignKey(ContentType, models.CASCADE)
      object_id = models.PositiveIntegerField()
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
tests/generic_relations/models.py