Overriding fForm class __init__ method
Hi, I have created a form class like this: class VoteRadioForm(forms.Form): choices = forms.ModelChoiceField(queryset=Choice.objects.filter(poll__active= True, poll__id = 2), empty_label= None, widget= forms.RadioSelect, ) T
Re: Overriding fForm class __init__ method
figure out this problem. Thanks On Jun 16, 3:51 am, Daniel Roseman wrote: > On Jun 16, 10:30 am, DevelopsDjangoApps wrote: > > > > > > > Hi, > > > I have created a form class like this: > > > class VoteRadioForm(forms.Form): > > > choices =