mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #494 -- Added ability to specify classes on admin inline fieldsets.
This includes the ability to collapse inlines by specifying a class named 'collapse'.
This commit is contained in:
@@ -42,6 +42,11 @@ Minor features
|
||||
* All inline JavaScript is removed so you can enable the
|
||||
``Content-Security-Policy`` HTTP header if you wish.
|
||||
|
||||
* The new :attr:`InlineModelAdmin.classes
|
||||
<django.contrib.admin.InlineModelAdmin.classes>` attribute allows specifying
|
||||
classes on inline fieldsets. Inlines with a ``collapse`` class will be
|
||||
initially collapsed and their header will have a small "show" link.
|
||||
|
||||
:mod:`django.contrib.admindocs`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user