      def __str__(self):
          return self.name
  
  
  @python_2_unicode_compatible
  class Membership(models.Model):
      person = models.ForeignKey(Person, models.CASCADE)
      group = models.ForeignKey(Group, models.CASCADE)
      date_joined = models.DateTimeField(default=datetime.now)
      invite_reason = models.CharField(max_length=64, 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 @python_2_unicode_compatible
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add 
      def __str__(self):
          return self.name
  
  

  class Membership(models.Model):
      person = models.ForeignKey(Person, models.CASCADE)
      group = models.ForeignKey(Group, models.CASCADE)
      date_joined = models.DateTimeField(default=datetime.now)
      invite_reason = models.CharField(max_length=64, null=True)
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
tests/m2m_through/models.py