#11108: add a ModelAdmin.delete_model method, similar to ModelAdmin.save_model
(+patch)
-------------------------------------------+--------------------------------
          Reporter:  thomas                |         Owner:  nobody
            Status:  new                   |     Milestone:        
         Component:  django.contrib.admin  |       Version:  SVN   
        Resolution:                        |      Keywords:        
             Stage:  Accepted              |     Has_patch:  1     
        Needs_docs:  1                     |   Needs_tests:  1     
Needs_better_patch:  1                     |  
-------------------------------------------+--------------------------------
Changes (by anonymous):

 * cc: apollo13 (added)

Comment:

 Replying to [comment:2 shadfc]:
 > Slight bug -- if you don't actually delete the object, the message will
 still show. Similar bug with the delete log message?
 not really imo, delete_model is expected to delete the object, so I guess
 this will fall under documentation (remember you confirmed that you really
 want to delete it already…)

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