summaryrefslogtreecommitdiff
path: root/tests/introspection
diff options
context:
space:
mode:
authorAdam Chainz <adam@adamj.eu>2016-03-18 14:24:29 +0000
committerTim Graham <timograham@gmail.com>2016-09-09 17:16:42 -0400
commit652bcc6f5fa9084768890488fec5208e082c2add (patch)
treec3e6977924fe84329303c980d20b408139dfad8b /tests/introspection
parentbae64dd0f13ba247448197ecf83cdc7a80691bb4 (diff)
downloaddjango-652bcc6f5fa9084768890488fec5208e082c2add.tar.gz
Refs #25415 -- Fixed invalid models in the test suite.
Diffstat (limited to 'tests/introspection')
-rw-r--r--tests/introspection/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/introspection/models.py b/tests/introspection/models.py
index 6d6650bc24..b8c7a83b9f 100644
--- a/tests/introspection/models.py
+++ b/tests/introspection/models.py
@@ -45,7 +45,7 @@ class Article(models.Model):
body = models.TextField(default='')
reporter = models.ForeignKey(Reporter, models.CASCADE)
response_to = models.ForeignKey('self', models.SET_NULL, null=True)
- unmanaged_reporters = models.ManyToManyField(Reporter, through='ArticleReporter')
+ unmanaged_reporters = models.ManyToManyField(Reporter, through='ArticleReporter', related_name='+')
def __str__(self):
return self.headline