﻿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
29468	Form Field declaration:	Ivan Muller	nobody	"Hi guys, I want to  improve the way  of  declear  html attrs into a Fields With out  declaring the default widget again.

{{{
example:
class ProfileForm(forms.ModelForm):
    class Meta:
        model = Profile
full_name = forms.CharField(widget=forms.TextInput(attrs={'class': Anyclass',}))
}}}



As Field documentaiton say into the init:
""""""Each Field has a default Widget that it'll use if you don't specify this.  n most cases, the default widget is TextInput:""""""
Woudl be  god to declare it  as 


{{{
full_name = forms.CharField(widget_attrs={'class': Anyclass',})
}}}
"	Cleanup/optimization	new	Forms	dev	Normal		Field Widget html attrs		Unreviewed	1	0	0	0	1	0
