From 543ab12c111d2ba9dd5d319a464a8f7b062c9b33 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 15 Aug 2007 00:19:53 +0000 Subject: [PATCH] Fixed #5158 -- Minor typo in newforms docs. Thanks, hayley . git-svn-id: http://code.djangoproject.com/svn/django/trunk@5888 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/newforms.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/newforms.txt b/docs/newforms.txt index 5d735ceb281..803dc6458a6 100644 --- a/docs/newforms.txt +++ b/docs/newforms.txt @@ -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