magic-removal: Updated m2m_intermediary tests to use new attribute syntax.

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Luke Plant 2006-02-03 13:28:29 +00:00
parent 5366beeb70
commit 4d724b4d90
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ class Writer(models.Model):
position = models.CharField(maxlength=100)
def __repr__(self):
return '%r (%s)' % (self.get_reporter(), self.position)
return '%r (%s)' % (self.reporter, self.position)
API_TESTS = """
# Create a few Reporters.