diff --git a/docs/forms.txt b/docs/forms.txt index e3a98feb32..c93db95bcd 100644 --- a/docs/forms.txt +++ b/docs/forms.txt @@ -396,7 +396,7 @@ for a "contact" form on a website:: self.fields = ( formfields.EmailField(field_name="from", is_required=True), formfields.TextField(field_name="subject", length=30, maxlength=200, is_required=True), - formfields.IntegerField(field_name="urgency", choices=urgency_choices), + formfields.SelectField(field_name="urgency", choices=urgency_choices), formfields.LargeTextField(field_name="contents", is_required=True), )