diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/validators.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/validators.txt b/docs/ref/validators.txt index ae15011f27..0c4a6d3767 100644 --- a/docs/ref/validators.txt +++ b/docs/ref/validators.txt @@ -21,7 +21,7 @@ For example, lets write a validator that only allows even numbers:: if value % 2 != 0: raise ValidationError(u'%s is not an even number' % value) -You can then added this to your model fields via the field's ``validators`` +You can then add this to your model fields via the field's ``validators`` argument:: from django.db import models |
