summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
authorZach Borboa <zachborboa@gmail.com>2016-09-29 02:55:10 -0700
committerTim Graham <timograham@gmail.com>2016-10-07 18:49:28 -0400
commitbf91be83d56d70181de807a5e8d22679cf63a52f (patch)
treec12c401aa3cbe6b4bd9fd58d97af4bdc20f3bf94 /docs/releases
parentc60feb6999f83bfd1fdabff01f0dd4a26d72e158 (diff)
Fixed #24941 -- Added ModelAdmin.get_exclude().
Thanks Ola Sitarska for the initial patch.
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/1.11.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt
index f5faedd0a9..ff77ebeabb 100644
--- a/docs/releases/1.11.txt
+++ b/docs/releases/1.11.txt
@@ -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`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~