#11108: add a ModelAdmin.delete_model method, similar to ModelAdmin.save_model
(+patch)
------------------------------------------------+---------------------------
               Reporter:  thomas                |         Owner:  nobody     
                 Status:  closed                |     Milestone:  1.3        
              Component:  django.contrib.admin  |       Version:  SVN        
             Resolution:  fixed                 |      Keywords:  sprintnov13
           Triage Stage:  Accepted              |     Has patch:  1          
    Needs documentation:  0                     |   Needs tests:  1          
Patch needs improvement:  0                     |  
------------------------------------------------+---------------------------

Comment (by Divad):

 This should also include this change in actions.py:

 {{{
 47c47
 <                 modeladmin.delete_model(request,obj)
 ---
 >             queryset.delete()
 }}}

 To have the same result using delete_selected from actions.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11108#comment:11>
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