Hi Jacob.

On the one side - you can override this delete_confirmation.html and 
delete_selected_confirmation.html I do it since dj 1.4

 

On the other side I am agree with Jacob - it can be in Django by default. – We 
can add “collapsed” div to wrap <ul> with every objects list, or we can add 
details/summary for that.

 

Mit freundlichen Grüßen,

DI Mag. Maxim Danilov

 

+43(681)207 447 76

 <mailto:ma...@wpsoft.at> ma...@wpsoft.at

 

From: django-developers@googlegroups.com 
[mailto:django-developers@googlegroups.com] On Behalf Of Jacob Rief
Sent: Tuesday, August 16, 2022 1:57 PM
To: Django developers (Contributions to Django itself) 
<django-developers@googlegroups.com>
Subject: More user friendly delete confirmation template

 

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.

 

I therefore propose to hide those related objects behind a link named

"Show related object to delete"

If the user clicks on that link, the complete list of objects to be deleted is

expanded into the confirmation page. This also prevents having to scroll

down to the end of a potentially very long page in order to confirm the

deletion by clicking on "Yes I'm sure".

 



 

– Jacob

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com 
<mailto:django-developers+unsubscr...@googlegroups.com> .
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/e59f0771-cb65-4564-ace4-50a7ffd96cf6n%40googlegroups.com
 
<https://groups.google.com/d/msgid/django-developers/e59f0771-cb65-4564-ace4-50a7ffd96cf6n%40googlegroups.com?utm_medium=email&utm_source=footer>
 .

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/000001d8b16a%24d5c5f640%248151e2c0%24%40wpsoft.at.
  • Mor... Jacob Rief
    • ... Danilov Maxim
      • ... 'Adam Johnson' via Django developers (Contributions to Django itself)
        • ... Danilov Maxim
          • ... 'Adam Johnson' via Django developers (Contributions to Django itself)
            • ... Carlton Gibson
              • ... Jacob Rief
                • ... Jacob Rief
        • ... אורי
          • ... Jacob Rief
            • ... Carlton Gibson
              • ... Jacob Rief

Reply via email to