#3284: Form clean() method does not trap ValidationError exception
---------------------------------------------+------------------------------
 Reporter:  Chris Rose <[EMAIL PROTECTED]>  |        Owner:  adrian    
     Type:  defect                           |       Status:  closed    
 Priority:  normal                           |    Milestone:            
Component:  django.newforms                  |      Version:            
 Severity:  normal                           |   Resolution:  worksforme
 Keywords:                                   |  
---------------------------------------------+------------------------------
Changes (by adrian):

  * status:  new => closed
  * resolution:  => worksforme

Comment:

 We have a unit test that confirms this works properly:
 
 
http://code.djangoproject.com/browser/django/trunk/tests/regressiontests/forms/tests.py?rev=4306#L1966
 
 I suspect you're raising the wrong {{{ValidationError}}} exception. Make
 sure to use {{{django.newforms.ValidationError}}} rather than the old one,
 {{{django.core.validators.ValidationError}}}.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3284#comment:>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to