Skip to content

Commit f8ef93a

Browse files
tsaylorapollo13
authored andcommitted
Fixed a documentation typo on the widget page.
1 parent c57ba67 commit f8ef93a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ref/forms/widgets.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ changing :attr:`ChoiceField.choices` will update :attr:`Select.choices`. For
7575
example::
7676

7777
>>> from django import forms
78-
>>> CHOICES = (('1', 'First',), ('2', 'Second',)))
78+
>>> CHOICES = (('1', 'First',), ('2', 'Second',))
7979
>>> choice_field = forms.ChoiceField(widget=forms.RadioSelect, choices=CHOICES)
8080
>>> choice_field.choices
8181
[('1', 'First'), ('2', 'Second')]

0 commit comments

Comments
 (0)