magic-removal: Fixed bugs in m2o_recursive2 model unit tests

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-02-03 20:29:45 +00:00
parent 6fa54ec9fd
commit 5f646ff486
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ from django.db import models
class Person(models.Model):
full_name = models.CharField(maxlength=20)
mother = models.ForeignKey('self', null=True, related_name='mothers_child')
father = models.ForeignKey('self', null=True, related_name='fathers_child')
mother = models.ForeignKey('self', null=True, related_name='mothers_child_set')
father = models.ForeignKey('self', null=True, related_name='fathers_child_set')
def __repr__(self):
return self.full_name