#33930: Add id="deleted-objects" to template admin/delete_confirmation.html
-------------------------------------+-------------------------------------
               Reporter:  Jacob      |          Owner:  Jacob Rief
  Rief                               |
                   Type:  New        |         Status:  assigned
  feature                            |
              Component:             |        Version:  dev
  contrib.admin                      |       Keywords:
               Severity:  Normal     |  admin/delete_confirmation.html
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  1          |
-------------------------------------+-------------------------------------
 As discussed on the developers mailing list, see
 https://groups.google.com/g/django-developers/c/VTRqW7ZmB6A ,
 is would make sense to add id="deleted-objects" to the <ul> element
 showing the objects to be deleted.

 Reason:
 Whenever a user attempts to delete an object inside the Django admin,
 a delete confirmation page is shown. If the object to be deleted contains
 many relations, the user is overwhelmed with a list of other objects to be
 deleted together with the current object. Often those objects are just
 internal relations the user never heard of, and this may be unsettling.

 By overriding that template one can use CSS to hide this list and add a
 short
 JavaScript snippet to unhide if necessary.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33930>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070182aa798bae-86366f06-faad-4444-bc14-0c7897dd90fb-000000%40eu-central-1.amazonses.com.

Reply via email to