From 5f646ff4868e39b6ce8566a9702f7f8a9e6d6070 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 3 Feb 2006 20:29:45 +0000 Subject: [PATCH] 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 --- tests/modeltests/m2o_recursive2/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/modeltests/m2o_recursive2/models.py b/tests/modeltests/m2o_recursive2/models.py index d65f22effb..40b842dc92 100644 --- a/tests/modeltests/m2o_recursive2/models.py +++ b/tests/modeltests/m2o_recursive2/models.py @@ -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