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:
parent
9cb85eb370
commit
6ee9aeb0d6
|
@ -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
|
||||
--------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue