summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-02-16 18:23:39 -0500
committerTim Graham <timograham@gmail.com>2013-02-16 18:25:22 -0500
commit83e512fa6e45d2c9e63735bb0c3cd8f1fcd2e616 (patch)
tree92fbf73d39e914a927a6f3bbf4c048d46ea7fa85
parent3d6388941d231e7ae1b5a53cdf2e401b704744b5 (diff)
[1.4.x] Fixed #19812 - Removed a duplicate phrase in the widget docs.
Thanks diegueus9 for the report and itsallvoodoo for the draft patch. Backport of 7a80904b00 from master
-rw-r--r--docs/ref/forms/widgets.txt13
1 files changed, 4 insertions, 9 deletions
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt
index 60ba00c0ca..a745f1b11d 100644
--- a/docs/ref/forms/widgets.txt
+++ b/docs/ref/forms/widgets.txt
@@ -278,15 +278,10 @@ foundation for custom widgets.
* A single value (e.g., a string) that is the "compressed" representation
of a ``list`` of values.
- If `value` is a list, output of :meth:`~MultiWidget.render` will be a
- concatenation of rendered child widgets. If `value` is not a list, it
- will be first processed by the method :meth:`~MultiWidget.decompress()`
- to create the list and then processed as above.
-
- In the second case -- i.e., if the value is *not* a list --
- ``render()`` will first decompress the value into a ``list`` before
- rendering it. It does so by calling the ``decompress()`` method, which
- :class:`MultiWidget`'s subclasses must implement (see above).
+ If ``value`` is a list, the output of :meth:`~MultiWidget.render` will
+ be a concatenation of rendered child widgets. If ``value`` is not a
+ list, it will first be processed by the method
+ :meth:`~MultiWidget.decompress()` to create the list and then rendered.
When ``render()`` executes its HTML rendering, each value in the list
is rendered with the corresponding widget -- the first value is