#3787: [patch] newforms.widgets.MultiWidget bugfixes
--------------------------------------------+-------------------------------
Reporter:  Max Derkachev <[EMAIL PROTECTED]>  |       Owner:  adrian         
  Status:  new                              |   Component:  django.newforms
 Version:  SVN                              |    Keywords:                 
   Stage:  Unreviewed                       |   Has_patch:  1              
--------------------------------------------+-------------------------------
 I found 3 problems with MultiWidget:
 1. render() does not generate different element ids for different sub-
 widgets, so every sub-widget gets the same id
 2. render() checks for KeyError while enumerating self.widgets, while it
 should check for IndexError instead
 3. value_from_datadict() should use sub-widget.value_from_datadict()
 instead of using data.get (sub-widgets can be other multiwidgets or
 SelectMultiples)

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