Re: clean_ method not getting called

2009-05-25 Thread googletorp
Hi. I dont see anything wrong with the form code, could be the cod in your views that is causing the problem. Try posting that part aswell. ~Jakob On May 25, 11:27 pm, marstein wrote: > I have a ModelForm like this: > > > class PlanForm(forms.ModelForm): >     funds  =

clean_ method not getting called

2009-05-25 Thread marstein
I have a ModelForm like this: class PlanForm(forms.ModelForm): funds = forms.ChoiceField(widget=forms.Select) # This does get called but does not see 'funds' field! def clean(self): logging.debug("clean: cleaning data: %s" % self.cleaned_data) return