Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a documentation typo on the widget page.

  • Loading branch information...
commit f8ef93a6576837ef3598066d6ed715171a91cd04 1 parent c57ba67
@tsaylor tsaylor authored apollo13 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/ref/forms/widgets.txt
View
2  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')]
Please sign in to comment.
Something went wrong with that request. Please try again.