On Jul 8, 9:50 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
>
> Django does not do any model field validation by default at the moment.
> Admin does it using an old system (essentially, oldforms and Add- and
> ChangeManipulators) that is being removed. We are adding more coherent
> model
On Mon, 2008-07-07 at 21:34 -0700, Ayaz Ahmed Khan wrote:
> 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
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
3 matches
Mail list logo