mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #26816 -- Corrected an admin check to require inlines to subclass InlineModelAdmin.
This commit is contained in:
parent
3c97ba2a0d
commit
426bca002c
3 changed files with 5 additions and 5 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue