diff options
Diffstat (limited to 'tests/syndication_tests')
-rw-r--r-- | tests/syndication_tests/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/syndication_tests/models.py b/tests/syndication_tests/models.py index 166acd69ca..22b0f81fbb 100644 --- a/tests/syndication_tests/models.py +++ b/tests/syndication_tests/models.py @@ -21,7 +21,7 @@ class Entry(models.Model): @python_2_unicode_compatible class Article(models.Model): title = models.CharField(max_length=200) - entry = models.ForeignKey(Entry) + entry = models.ForeignKey(Entry, models.CASCADE) def __str__(self): return self.title |