#5370: newforms.ValidationError cannot be accept a message created by
ugettext_lazy
------------------------+---------------------------------------------------
Reporter:  ubernostrum  |       Owner:  mtredinnick         
  Status:  new          |   Component:  Internationalization
 Version:  SVN          |    Keywords:                      
   Stage:  Unreviewed   |   Has_patch:  0                   
------------------------+---------------------------------------------------
 Currently, if `ugettext_lazy` is used on the error message passed to the
 newforms `ValidationError` it will raise `AssertionError` because the
 message is expected to be either a list or a `basestring`. The assertion
 should instead allow for an instance of `django.utils.functional.Promise`
 (as the oldforms `ValidationError` already does).

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5370>
Django Code <http://code.djangoproject.com/>
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