summaryrefslogtreecommitdiff
path: root/tests/custom_pk/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/custom_pk/models.py')
-rw-r--r--tests/custom_pk/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/custom_pk/models.py b/tests/custom_pk/models.py
index eb9f86b064..20b484c426 100644
--- a/tests/custom_pk/models.py
+++ b/tests/custom_pk/models.py
@@ -48,4 +48,4 @@ class Bar(models.Model):
class Foo(models.Model):
- bar = models.ForeignKey(Bar)
+ bar = models.ForeignKey(Bar, models.CASCADE)