From 426bca002c7902ceae230e0ce08a76dd6b6d3a06 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Thu, 25 Aug 2016 00:34:32 +0300 Subject: Fixed #26816 -- Corrected an admin check to require inlines to subclass InlineModelAdmin. --- tests/modeladmin/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/modeladmin') diff --git a/tests/modeladmin/tests.py b/tests/modeladmin/tests.py index d19093334a..d375090151 100644 --- a/tests/modeladmin/tests.py +++ b/tests/modeladmin/tests.py @@ -1339,7 +1339,7 @@ class InlinesCheckTests(CheckTestCase): self.assertIsInvalidRegexp( ValidationTestModelAdmin, ValidationTestModel, - r"'.*\.ValidationTestInline' must inherit from 'BaseModelAdmin'\.", + r"'.*\.ValidationTestInline' must inherit from 'InlineModelAdmin'\.", 'admin.E104') def test_missing_model_field(self): -- cgit v1.3