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:
parent
5366beeb70
commit
4d724b4d90
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue