spoted the proble,
any validator added will just not work

view.py
#Validator
def isFoo(self, field_data, all_data):
        raise validators.ValidationError, "!!!!!!!!!!!!!!!!!!!!!"

def create_recette(request):
        manipulator = recettes.AddManipulator()
        manipulator.fields[8].validator_list.append(isFoo)
        manipulator.fields[6].validator_list.append(isFoo)
        manipulator.fields[5].validator_list.append(isFoo)

the error never raise how come ??


--~--~---------~--~----~------------~-------~--~----~
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