  
  
  # Ticket #21410: Regression when related_name="+"
  
  @python_2_unicode_compatible
  class Author2(models.Model):
      name = models.CharField(max_length=50, unique=True)
      first_book = models.ForeignKey('Book', models.CASCADE, related_name='first_time_authors+')
      favorite_books = models.ManyToManyField('Book', related_name='+')
  
 
</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 
  
  
  # Ticket #21410: Regression when related_name="+"
  

  class Author2(models.Model):
      name = models.CharField(max_length=50, unique=True)
      first_book = models.ForeignKey('Book', models.CASCADE, related_name='first_time_authors+')
      favorite_books = models.ManyToManyField('Book', related_name='+')
  
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
tests/prefetch_related/models.py