﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
35889	"Incorrect reference of defaults widgets in ""Styling widget instances"" docs"	Antoliny	Antoliny	"Hello!
I found an incorrect sentence in the [https://docs.djangoproject.com/en/5.1/ref/forms/widgets/#styling-widget-instances Django widgets document customizing widget instances section].

{{{
For example, take the following form::

    from django import forms


    class CommentForm(forms.Form):
        name = forms.CharField()
        url = forms.URLField()
        comment = forms.CharField()

This form will include three default :class:`TextInput` widgets, with default
rendering -- no CSS class, no extra attributes. This means that the input boxes
provided for each widget will be rendered exactly the same:
}}}
The fields used in the above example CommentForm are CharField and URLField. 
And the document has the following explanation. 
**""This form will include three default TextInput widgets""**
[https://docs.djangoproject.com/en/5.1/ref/forms/fields/ CharField default widget] is TextInput, but [https://docs.djangoproject.com/en/5.1/ref/forms/fields/#urlfield URLField default widget] is URLInput.
That's why I think this sentence is wrong and should be corrected.
"	Cleanup/optimization	closed	Documentation	5.0	Normal	fixed	Widget Document		Ready for checkin	1	0	0	0	0	0
