Re: ModelForm unbound

2011-04-21 Thread Constantine
Let me show example on form i have two coerced fieds (ModelChoiceField) queryset for second field based on first so, using simpleform i can modify second queryset using firstfield_clean but using modelform i should do it twise: in init for form instantiation and in field_clean for save what

Re: ModelForm unbound

2011-04-21 Thread Daniel Roseman
On Thursday, April 21, 2011 8:16:36 AM UTC+1, Constantine wrote: > > Hi > > i've used some logic in clean_field methods, but when i've migrated to > ModelForm, was very surprised that clean methods does not invoked > after some investigation i realized that model instane does not makes >

ModelForm unbound

2011-04-21 Thread Constantine
Hi i've used some logic in clean_field methods, but when i've migrated to ModelForm, was very surprised that clean methods does not invoked after some investigation i realized that model instane does not makes modelform bound automatically i'm expect that model validation also triggered as