mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #24941 -- Added ModelAdmin.get_exclude().
Thanks Ola Sitarska for the initial patch.
This commit is contained in:
@@ -68,6 +68,10 @@ Minor features
|
||||
|
||||
* :attr:`.ModelAdmin.date_hierarchy` can now reference fields across relations.
|
||||
|
||||
* The new :meth:`ModelAdmin.get_exclude()
|
||||
<django.contrib.admin.ModelAdmin.get_exclude>` hook allows specifying the
|
||||
exclude fields based on the request or model instance.
|
||||
|
||||
:mod:`django.contrib.admindocs`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user