I'm struggeling to build tests for (custom) validators - see
http://www.djangoproject.com/documentation/forms/#validators for the
basics.

To my understanding there  are two kinds of validators:

a) Validators inherent  to a Field type, e.g. isValidEmail for
EmailField
b) custom validators set via validator_list

Every model has a function validate() which calls the type a)
validators for all fields in the model. But how do I get a model to
call all of it's type b) validators?


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to