Fixed a documentation typo on the widget page.

This commit is contained in:
Tim Saylor 2012-06-13 13:42:18 -05:00 committed by Florian Apolloner
parent c57ba67331
commit f8ef93a657
1 changed files with 1 additions and 1 deletions

View File

@ -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')]