Fixed #5158 -- Minor typo in newforms docs. Thanks, hayley <djangocode@vortex.cx>.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2007-08-15 00:19:53 +00:00
parent 69cf1bb460
commit 543ab12c11
1 changed files with 2 additions and 2 deletions

View File

@ -1483,9 +1483,9 @@ just use the 'widget' argument on the field definition. For example::
class CommentForm(forms.Form):
name = forms.CharField()
url = forms.URLField()
comment = forms.CharField(widget=forms.TextArea)
comment = forms.CharField(widget=forms.Textarea)
This would specify a form with a comment that uses a larger TextArea widget,
This would specify a form with a comment that uses a larger Textarea widget,
rather than the default TextInput widget.
Customizing widget instances