summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2007-08-15 00:19:53 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2007-08-15 00:19:53 +0000
commit543ab12c111d2ba9dd5d319a464a8f7b062c9b33 (patch)
tree0540659806834d1f2c7d833cf2eb0848cd5135dc /docs
parent69cf1bb4606047efcc03699d4a8a07bb5298b672 (diff)
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
Diffstat (limited to 'docs')
-rw-r--r--docs/newforms.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/newforms.txt b/docs/newforms.txt
index 5d735ceb28..803dc6458a 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