#9171: must pass `list` not `tuple` as `exclude` (as seen in docs) to
`inlineformset_factory`.
-------------------------------------------+--------------------------------
 Reporter:  mrmachine                      |       Owner:  nobody    
   Status:  new                            |   Milestone:            
Component:  Forms                          |     Version:  SVN       
 Keywords:  inlineformset_factory exclude  |       Stage:  Unreviewed
Has_patch:  1                              |  
-------------------------------------------+--------------------------------
 If the `exclude` argument is not `None` but is also not `list` an
 exception will be raised as we try to `append` the foreign key field.
 Patch simply calls `list()` on `exclude` to allow any iterable to be
 passed in, similar to `ChoiceField._set_choices`.

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