diff options
author | Adam Chainz <adam@adamj.eu> | 2016-03-18 14:24:29 +0000 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-09-09 17:16:42 -0400 |
commit | 652bcc6f5fa9084768890488fec5208e082c2add (patch) | |
tree | c3e6977924fe84329303c980d20b408139dfad8b /tests/ordering | |
parent | bae64dd0f13ba247448197ecf83cdc7a80691bb4 (diff) | |
download | django-652bcc6f5fa9084768890488fec5208e082c2add.tar.gz |
Refs #25415 -- Fixed invalid models in the test suite.
Diffstat (limited to 'tests/ordering')
-rw-r--r-- | tests/ordering/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ordering/models.py b/tests/ordering/models.py index 213a8f5ce8..2c4e9b3308 100644 --- a/tests/ordering/models.py +++ b/tests/ordering/models.py @@ -25,7 +25,7 @@ class Author(models.Model): @python_2_unicode_compatible class Article(models.Model): author = models.ForeignKey(Author, models.SET_NULL, null=True) - second_author = models.ForeignKey(Author, models.SET_NULL, null=True) + second_author = models.ForeignKey(Author, models.SET_NULL, null=True, related_name='+') headline = models.CharField(max_length=100) pub_date = models.DateTimeField() |