modelForm validation -> model validation -> trigger field validation?

11 views
Skip to first unread message

Sven

unread,
Jan 25, 2012, 2:34:07 PM1/25/12
to django...@googlegroups.com
hi there,

has anyone of you an idea in which cycle the field method of
ForeignKey.validate is triggered?

I have a custom ForeignKey Field where i override the validate method.
So i expect that

ModelForm validation triggers
-> Model validation (clean methods) and this triggers
-> Field validation of all contained fields

But this seems not be the case. Has anyone of you an idea?


--


Best Regards

Sven

Reply all
Reply to author
Forward
0 new messages