      date_friended = models.DateTimeField()
  
  
  # Custom through link fields
  @python_2_unicode_compatible
  class Event(models.Model):
      title = models.CharField(max_length=50)
      invitees = models.ManyToManyField(
          Person, through='Invitation',
          through_fields=('event', 'invitee'),
 
</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 
      date_friended = models.DateTimeField()
  
  
  # Custom through link fields

  class Event(models.Model):
      title = models.CharField(max_length=50)
      invitees = models.ManyToManyField(
          Person, through='Invitation',
          through_fields=('event', 'invitee'),
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
tests/m2m_through/models.py