diff options
| author | Tim Saylor <tim.saylor@gmail.com> | 2012-06-13 13:42:18 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-08-17 11:15:43 -0400 |
| commit | 03e79c3386ba495438f05b59f270c8d14055c231 (patch) | |
| tree | 2a0d5021dfcd7c8ab77d5b2cf79f9a80981d019f /docs/ref/forms | |
| parent | e4b7e7d86deb1303997d6c3b893c76ead2d6d46a (diff) | |
[1.4.X] Fixed a documentation typo on the widget page.
Backport of f8ef93a657 from master
Diffstat (limited to 'docs/ref/forms')
| -rw-r--r-- | docs/ref/forms/widgets.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index 88d0d706cd..fb7657349a 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -75,7 +75,7 @@ changing :attr:`ChoiceField.choices` will update :attr:`Select.choices`. For example:: >>> from django import forms - >>> CHOICES = (('1', 'First',), ('2', 'Second',))) + >>> CHOICES = (('1', 'First',), ('2', 'Second',)) >>> choice_field = forms.ChoiceField(widget=forms.RadioSelect, choices=CHOICES) >>> choice_field.choices [('1', 'First'), ('2', 'Second')] |
