summaryrefslogtreecommitdiff
path: root/tests/admin_ordering/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/admin_ordering/models.py')
-rw-r--r--tests/admin_ordering/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/admin_ordering/models.py b/tests/admin_ordering/models.py
index 195b3c3694..3da52b1b00 100644
--- a/tests/admin_ordering/models.py
+++ b/tests/admin_ordering/models.py
@@ -15,6 +15,7 @@ class Song(models.Model):
band = models.ForeignKey(Band)
name = models.CharField(max_length=100)
duration = models.IntegerField()
+ other_interpreters = models.ManyToManyField(Band, related_name='covers')
class Meta:
ordering = ('name',)