diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2007-01-05 22:15:46 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2007-01-05 22:15:46 +0000 |
| commit | 6ee9aeb0d6d086f0e5e54667a3405f75fb1196f7 (patch) | |
| tree | dae3db6bb0e8b9728c7455ee382ff3b5967faf0b /docs | |
| parent | 9cb85eb370dba6d4c73fabf68d913f37e46724e4 (diff) | |
Added note to docs/newforms.txt that points out ValidationError is a different class than previously
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4292 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/newforms.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/newforms.txt b/docs/newforms.txt index 5d49e83160..0b432e1b36 100644 --- a/docs/newforms.txt +++ b/docs/newforms.txt @@ -576,6 +576,11 @@ exception or returns the clean value:: ... ValidationError: [u'Enter a valid e-mail address.'] +If you've used Django's old forms/validation framework, take care in noticing +this ``ValidationError`` is different than the previous ``ValidationError``. +This one lives at ``django.newforms.ValidationError`` rather than +``django.core.validators.ValidationError``. + Core field arguments -------------------- |
