#6191: Admin delete view doesn't show all items in some circumstances
-------------------------------------------+--------------------------------
          Reporter:  nicklane              |         Owner:  nobody     
            Status:  new                   |     Milestone:             
         Component:  django.contrib.admin  |       Version:  SVN        
        Resolution:                        |      Keywords:  nfa-someday
             Stage:  Accepted              |     Has_patch:  1          
        Needs_docs:  0                     |   Needs_tests:  0          
Needs_better_patch:  1                     |  
-------------------------------------------+--------------------------------
Changes (by kmtracey):

  * needs_better_patch:  0 => 1

Comment:

 As of the fix for #7276, there's at least one more case where the admin
 delete confirmation page doesn't show all the objects that are actually
 going to be deleted, which highlights the perils of having two separate
 code paths: one for calculating the to-be-deleted objects for display and
 the 2nd that does the actual deletion.  It would really be better if the
 admin for-display part could somehow make use of the underlying ORM
 routines that are going to govern what actually gets deleted, but that's
 not an easy fix.

 Also the current patch will display an object twice -- if for example A is
 both the team_leader and contact_person for a project, that project will
 get displayed twice on the confirmation page for deleting A.  That's a bit
 confusing (though I'm not entirely sure it can't also happen with current
 code -- I find that admin routine a bit hard to get my head around).

-- 
Ticket URL: <http://code.djangoproject.com/ticket/6191#comment:9>
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-updates@googlegroups.com
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