magic-removal: Fixed incorrect related_name in m2o_recursive unit tests

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-02-03 22:31:56 +00:00
parent bd5b9412b3
commit 36c66d7d39
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ from django.db import models
class Category(models.Model):
name = models.CharField(maxlength=20)
parent = models.ForeignKey('self', null=True, related_name='child')
parent = models.ForeignKey('self', null=True, related_name='child_set')
def __repr__(self):
return self.name