      def __str__(self):
          return "%s the place" % self.name
  
  
  @python_2_unicode_compatible
  class Restaurant(models.Model):
      place = models.OneToOneField(Place, models.CASCADE, primary_key=True)
      serves_hot_dogs = models.BooleanField(default=False)
      serves_pizza = models.BooleanField(default=False)
  
 
</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 "%s the place" % self.name
  
  

  class Restaurant(models.Model):
      place = models.OneToOneField(Place, models.CASCADE, primary_key=True)
      serves_hot_dogs = models.BooleanField(default=False)
      serves_pizza = models.BooleanField(default=False)
  
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
tests/one_to_one/models.py