Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #5158 -- Minor typo in newforms docs. Thanks, hayley <djangocod…

…e@vortex.cx>.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 543ab12c111d2ba9dd5d319a464a8f7b062c9b33 1 parent 69cf1bb
@freakboy3742 freakboy3742 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/newforms.txt
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.