1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #27755 -- Added ModelAdmin.get_inlines() hook.

This commit is contained in:
Hasan Ramezani
2019-03-19 16:13:26 +01:00
committed by Mariusz Felisiak
parent 7d49ad7656
commit 917fd9d03f
4 changed files with 45 additions and 1 deletions

View File

@@ -47,6 +47,10 @@ Minor features
* Added support for the ``admin_order_field`` attribute on properties in
:attr:`.ModelAdmin.list_display`.
* The new :meth:`ModelAdmin.get_inlines()
<django.contrib.admin.ModelAdmin.get_inlines>` method allows specifying the
inlines based on the request or model instance.
:mod:`django.contrib.admindocs`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~