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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_ordering/models.py b/tests/admin_ordering/models.py
index 91831edc2b..cd26f2a710 100644
--- a/tests/admin_ordering/models.py
+++ b/tests/admin_ordering/models.py
@@ -13,7 +13,7 @@ class Band(models.Model):
class Song(models.Model):
- band = models.ForeignKey(Band)
+ band = models.ForeignKey(Band, models.CASCADE)
name = models.CharField(max_length=100)
duration = models.IntegerField()
other_interpreters = models.ManyToManyField(Band, related_name='covers')