      def __str__(self):
          return self.common_name
  
  
  @python_2_unicode_compatible
  class Vegetable(models.Model):
      name = models.CharField(max_length=150)
      is_yucky = models.BooleanField(default=True)
  
      tags = GenericRelation(TaggedItem)
 
</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 @python_2_unicode_compatible
 </s> add 
      def __str__(self):
          return self.common_name
  
  

  class Vegetable(models.Model):
      name = models.CharField(max_length=150)
      is_yucky = models.BooleanField(default=True)
  
      tags = GenericRelation(TaggedItem)
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
tests/generic_relations/models.py