mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +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
|
@ -362,7 +362,7 @@ with the admin site:
|
|||
* **admin.E102**: The value of ``save_on_top`` must be a boolean.
|
||||
* **admin.E103**: The value of ``inlines`` must be a list or tuple.
|
||||
* **admin.E104**: ``<InlineModelAdmin class>`` must inherit from
|
||||
``BaseModelAdmin``.
|
||||
``InlineModelAdmin``.
|
||||
* **admin.E105**: ``<InlineModelAdmin class>`` must have a ``model`` attribute.
|
||||
* **admin.E106**: The value of ``<InlineModelAdmin class>.model`` must be a
|
||||
``Model``.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue