summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2014-02-26 16:03:51 +0100
committerClaude Paroz <claude@2xlibre.net>2014-03-01 10:36:48 +0100
commita19f0d0c1e128634b9e393c52148167bf8718b4c (patch)
treecac9914347440eec1f389b9568274cf13c5ea287 /docs
parent75d0dcbf848e687042d889a8172962b6ea4206af (diff)
Fixed #22137 -- Made Widget.is_hidden a read-only property
Thanks django at patjack.co.uk for the report and the review.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.7.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt
index c0cacb2ec7..4d1890b3d9 100644
--- a/docs/releases/1.7.txt
+++ b/docs/releases/1.7.txt
@@ -1100,6 +1100,9 @@ Miscellaneous
This widget now respects the form field's ``is_required`` attribute like
other widgets.
+* ``Widget.is_hidden`` is now a read-only property, getting its value by
+ introspecting the presence of ``input_type == 'hidden'``.
+
* :meth:`~django.db.models.query.QuerySet.select_related` now chains in the
same way as other similar calls like ``prefetch_related``. That is,
``select_related('foo', 'bar')`` is equivalent to