diff options
| author | Claude Paroz <claude@2xlibre.net> | 2016-03-10 18:21:25 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2016-03-19 09:24:27 +0100 |
| commit | 983c158da7723eb00a376bd31db76709da4d0260 (patch) | |
| tree | d5784910f91a4e8a5ee31bd376796c70b6463e37 /tests/sites_framework | |
| parent | 2b3a9414570af623853ca0f819c7d77d0511f22c (diff) | |
Refs #24227 -- Replaced M2M isinstance checks by field.many_to_many
Thanks Markus Holtermann, Collin Anderson and Tim Graham for the reviews.
Diffstat (limited to 'tests/sites_framework')
| -rw-r--r-- | tests/sites_framework/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
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', ) |
