Wednesday, January 25, 2012

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

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

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment