#15910: show delete links for all admin inline formset rows
-------------------------------------+-------------------------------------
     Reporter:  Arthur de Jong       |                    Owner:  nobody
  <arthur@…>                         |
         Type:  New feature          |                   Status:  new
    Component:  contrib.admin        |                  Version:  1.3
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  1
-------------------------------------+-------------------------------------

Comment (by djpretzel):

 This has been broken for seven years, and partially fixed for two. As
 someone new to Django who is trying to use inlines, it's frustrating that
 right out of the box, if validation happens to fail, the user is left with
 a bunch of added inline entries they have zero means of deleting.

 This isn't a "New Feature", it's a bug. If the intention behind the
 ability to add AND remove extra inlines prior to form submission is for
 usability, then taking away that ability after validation fails isn't
 consistent with that design goal.

 Use case:

 1. I spend 10-15 minutes working on a complex form entry.
 2. I add a dozen associated inline addresses/relationships/whatevers via
 the "add another" option.
 3. I submit the form and hold my breath.
 4. There's a validation error on one of the dozen
 addresses/relationships/whatevers that I entered.
 5. I realize I only needed 11, not 12, addresses/relationships/whatevers
 6. My entire form submission is now fudged, since I can't remove the
 single problem inline.... unless I am comfortable entering a bogus record
 and deleting it afterwards, if I even have that ability.
 7. Sad face.

 Would love to see this fixed. It's one of a number of problems surrounding
 inlines in the admin.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/15910#comment:14>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/089.f05dbb9d67fd2a30acc1051ec7384fd7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to