From 6ee9aeb0d6d086f0e5e54667a3405f75fb1196f7 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 5 Jan 2007 22:15:46 +0000 Subject: [PATCH] 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 --- docs/newforms.txt | 5 +++++ 1 file changed, 5 insertions(+) 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 --------------------