Re: Widget attributes in ModelForm

2014-01-25 Thread Timothy W. Cook
SOLVED: The correct setting on the CBV is: *form_class =* not *form =* On Fri, Jan 24, 2014 at 2:09 PM, Timothy W. Cook wrote: > My widget attribute settings aren't having any effect in the render > template. > > View: > class DvBooleanCreateView(CreateView): >

Widget attributes in ModelForm

2014-01-24 Thread Timothy W. Cook
My widget attribute settings aren't having any effect in the render template. View: class DvBooleanCreateView(CreateView): template_name = 'dvboolean_create.html' success_url = '/dashboard' model = DvBoolean form = DvBooleanCreateForm fields =