#14688: BaseInlineFormSet does not support "auto_id"
-----------------------+----------------------------------------------------
 Reporter:  vicvicvic  |       Owner:  nobody    
   Status:  new        |   Milestone:            
Component:  Forms      |     Version:  SVN       
 Keywords:  formsets   |       Stage:  Unreviewed
Has_patch:  1          |  
-----------------------+----------------------------------------------------
 `BaseInlineFormSet.__init__` does not accept the `auto_id` argument,
 unlike its ancestors. Furthmore, its parent `BaseModelFormSet` takes
 `**kwargs` and passes them along.

 I can't think of a good reason for this omission/difference. I've attached
 a small patch to "match" `BaseInlineFormSet.__init__` with
 `BaseModelFormSet.__init__`. The patch puts the "new" `auto_id` argument
 last in order to maximize backwards compatibility (the order is different
 for `BaseModelFormSet`).

 Arguably, both `prefix` and `auto_id` could be removed from the explicit
 arg list since they're just passed along (in both `BaseModelFormSet` and
 `BaseInlineFormSet`).

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14688>
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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to