summaryrefslogtreecommitdiff
path: root/docs/ref/forms/widgets.txt
diff options
context:
space:
mode:
authorEd Henderson <ed@sharpertool.com>2016-06-02 12:56:13 -0700
committerTim Graham <timograham@gmail.com>2016-06-03 11:49:52 -0400
commit6d0c9f95da7084abf09170ca5a06bd47fd20f0c4 (patch)
tree1775055fec0d52fd2c8b701f4c2f8ad8983b370f /docs/ref/forms/widgets.txt
parenta0ebfa0c56e16f8305d48dfa16666eb74e1350db (diff)
[1.9.x] Fixed #26021 -- Applied hanging indentation to docs.
Backport of 4a4d7f980e2a66756e1e424f7648dcd28ff765b7 from master
Diffstat (limited to 'docs/ref/forms/widgets.txt')
-rw-r--r--docs/ref/forms/widgets.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt
index 5636e5a8ba..809a2ee07f 100644
--- a/docs/ref/forms/widgets.txt
+++ b/docs/ref/forms/widgets.txt
@@ -62,8 +62,11 @@ widget on the field. In the following example, the
class SimpleForm(forms.Form):
birth_year = forms.DateField(widget=forms.SelectDateWidget(years=BIRTH_YEAR_CHOICES))
- favorite_colors = forms.MultipleChoiceField(required=False,
- widget=forms.CheckboxSelectMultiple, choices=FAVORITE_COLORS_CHOICES)
+ favorite_colors = forms.MultipleChoiceField(
+ required=False,
+ widget=forms.CheckboxSelectMultiple,
+ choices=FAVORITE_COLORS_CHOICES,
+ )
See the :ref:`built-in widgets` for more information about which widgets
are available and which arguments they accept.