summaryrefslogtreecommitdiff
path: root/tests/modeladmin/tests.py
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-08-25 00:34:32 +0300
committerTim Graham <timograham@gmail.com>2016-08-24 17:34:32 -0400
commit426bca002c7902ceae230e0ce08a76dd6b6d3a06 (patch)
treeddc8a220ad69e1562ba3e997809730c959bbb5fe /tests/modeladmin/tests.py
parent3c97ba2a0d3a03e89b27a7a895562e5282018613 (diff)
Fixed #26816 -- Corrected an admin check to require inlines to subclass InlineModelAdmin.
Diffstat (limited to 'tests/modeladmin/tests.py')
-rw-r--r--tests/modeladmin/tests.py2
1 files changed, 1 insertions, 1 deletions
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):