diff options
| author | Joseph Kocherhans <joseph@jkocherhans.com> | 2010-01-05 06:20:21 +0000 |
|---|---|---|
| committer | Joseph Kocherhans <joseph@jkocherhans.com> | 2010-01-05 06:20:21 +0000 |
| commit | 5b97a7b11be355cbd9076522282432333ac8a3b9 (patch) | |
| tree | 55285cf4518bfda73d03a788558dd1bcc9ccb157 /docs | |
| parent | cd7da17132d0321473be97bca0a2a91008038919 (diff) | |
Fixed a typo in ref/validators.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
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 |
