def setUp(self):
     target = OneToOneTarget(name='target-1')
     target.save()
     new_target = OneToOneTarget(name='target-2')
     new_target.save()
     source = NullableOneToOneSource(name='source-1', target=new_target)
     source.save()
 def setUp(self):
     target = OneToOneTarget(name='target-1')
     target.save()
     new_target = OneToOneTarget(name='target-2')
     new_target.save()
     source = NullableOneToOneSource(name='source-1', target=new_target)
     source.save()
 def setUp(self):
     target = OneToOneTarget(name="target-1")
     target.save()
     new_target = OneToOneTarget(name="target-2")
     new_target.save()
     source = NullableOneToOneSource(name="source-1", target=new_target)
     source.save()