      def __str__(self):
          return self.name1
  
  
  @python_2_unicode_compatible
  class Parent2(models.Model):
      # Avoid having two "id" fields in the Child1 subclass
      id2 = models.AutoField(primary_key=True)
      name2 = models.CharField(max_length=50)
  
 
</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.name1
  
  

  class Parent2(models.Model):
      # Avoid having two "id" fields in the Child1 subclass
      id2 = models.AutoField(primary_key=True)
      name2 = models.CharField(max_length=50)
  
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
tests/select_related_onetoone/models.py