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 about
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
> mode
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 pointe
3 matches
Mail list logo