From 983c158da7723eb00a376bd31db76709da4d0260 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Thu, 10 Mar 2016 18:21:25 +0100 Subject: Refs #24227 -- Replaced M2M isinstance checks by field.many_to_many Thanks Markus Holtermann, Collin Anderson and Tim Graham for the reviews. --- tests/sites_framework/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/sites_framework') diff --git a/tests/sites_framework/tests.py b/tests/sites_framework/tests.py index 6d2717457a..de37bb5a00 100644 --- a/tests/sites_framework/tests.py +++ b/tests/sites_framework/tests.py @@ -62,7 +62,7 @@ class CurrentSiteManagerChecksTests(SimpleTestCase): expected = [ checks.Error( "CurrentSiteManager cannot use 'ConfusedArticle.site' as it is " - "not a ForeignKey or ManyToManyField.", + "not a foreign key or a many-to-many field.", obj=ConfusedArticle.on_site, id='sites.E002', ) -- cgit v1.3