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):
>
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 =
2 matches
Mail list logo