  
  class UndergroundBar(models.Model):
      place = models.OneToOneField(Place, null=True)
  
  
  @python_2_unicode_compatible
  class Waiter(models.Model):
      restaurant = models.ForeignKey(Restaurant)
 
</s> remove         self.r.place = self.p2
        self.r.save()
 </s> add         self.r1.place = self.p2
        self.r1.save() </s> remove         self.assertEqual(repr(self.r.place), '<Place: Ace Hardware the place>')
        self.assertEqual(self.p2.pk, self.r.pk)
 </s> add         self.assertEqual(repr(self.r1.place), '<Place: Ace Hardware the place>')
        self.assertEqual(self.p2.pk, self.r1.pk)
    serves_cocktails = models.BooleanField(default=True)
  
  class UndergroundBar(models.Model):
      place = models.OneToOneField(Place, null=True)
    serves_cocktails = models.BooleanField(default=True)
  
  
  @python_2_unicode_compatible
  class Waiter(models.Model):
      restaurant = models.ForeignKey(Restaurant)
keep keep add keep keep keep keep keep
 Merged one_to_one_regress into the one_to_one test package. 
tests/one_to_one/models.py