Kaydet (Commit) 543ab12c authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

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
üst 69cf1bb4
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment