mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #26816 -- Corrected an admin check to require inlines to subclass InlineModelAdmin.
This commit is contained in:
committed by
Tim Graham
parent
3c97ba2a0d
commit
426bca002c
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user