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
This commit is contained in:
Adrian Holovaty 2007-01-05 22:15:46 +00:00
parent 9cb85eb370
commit 6ee9aeb0d6
1 changed files with 5 additions and 0 deletions

View File

@ -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
--------------------