summaryrefslogtreecommitdiff
path: root/tests/sites_framework/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sites_framework/tests.py')
-rw-r--r--tests/sites_framework/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sites_framework/tests.py b/tests/sites_framework/tests.py
index 911286adc1..681bfe5b03 100644
--- a/tests/sites_framework/tests.py
+++ b/tests/sites_framework/tests.py
@@ -42,7 +42,7 @@ class SitesFrameworkTestCase(TestCase):
def test_invalid_name(self):
class InvalidArticle(AbstractArticle):
- site = models.ForeignKey(Site)
+ site = models.ForeignKey(Site, models.CASCADE)
objects = models.Manager()
on_site = CurrentSiteManager("places_this_article_should_appear")