I have a model with a CharField against which I have defined a
validator, thus:

class Info(models.Model):
    text = models.CharField(validator_list=[validators.isOnlyDigits])

When using a ModelForm of that Model in a view, Django fails to apply
the validators.isOnlyDigits validation check.  If model is edited from
admin, however, the specified extra validator is applied, and works.
I don't know what I am doing wrong or missing out on.  Any clues would
be really appreciated.

I am using the trunk build from svn of Django.  Thanks.

--
Ayaz Ahmed Khan
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to