Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.4.X] Fixed a documentation typo on the widget page.

Backport of f8ef93a from master
  • Loading branch information...
commit 03e79c3386ba495438f05b59f270c8d14055c231 1 parent e4b7e7d
Tim Saylor tsaylor authored timgraham committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/ref/forms/widgets.txt
2  docs/ref/forms/widgets.txt
View
@@ -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.