#11574: Allow extra blank rows for adding new records when using list_editable 
in
admin change list view
------------------------------------------+---------------------------------
 Reporter:  rfugger                       |       Owner:  nobody    
   Status:  new                           |   Milestone:            
Component:  django.contrib.admin          |     Version:  SVN       
 Keywords:  list_editable extra rows add  |       Stage:  Unreviewed
Has_patch:  0                             |  
------------------------------------------+---------------------------------
 Now that we can edit records in bulk in the admin using `list_editable`,
 it would be nice to be able to add new items in bulk in the same way.
 Something like a `list_editable_extra` field on `ModelAdmin` that works
 similarly to the `extra` field on `InlineModelAdmin`.

 What's seems to be needed:

  * Set the `extra` parameter to modelformset_factory in
 `ModelAdmin.get_changelist_formset` to generate the empty forms.
  * Adapt the `result_list` template tag in `admin_list.py` to show the
 extra forms.  This can be done by calling `items_for_result` with an empty
 model for each empty form.
  * Adapt paginator and actions area to account for the extra rows.  Not
 quite sure how to do this.

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