Opened 3 years ago

Closed 3 years ago

#33776 closed Uncategorized (wontfix)

django-admin inline should not be append but prepend

Reported by: Ritik Soni Owned by: nobody
Component: contrib.admin Version: 4.0
Severity: Normal Keywords: django-inline admin
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description (last modified by Ritik Soni)

Problem:- this is so uncomfortable if inline has 1k instances then the user has to scroll down.

Solution:-

  1. so when we press add more inline (button) it should append an inline instance at the starting in the fieldset.
  2. that button also should be in the starting of fieldset

https://user-images.githubusercontent.com/47344024/172989144-55eb2368-fe43-4004-88b4-1f2c7e3551f9.png

Change History (2)

comment:1 by Ritik Soni, 3 years ago

Description: modified (diff)

comment:2 by Carlton Gibson, 3 years ago

Resolution: wontfix
Status: newclosed

This would be quite a disruptive change, and additional ModelAdmin options to avoid that wouldn't be worth the complexity I'd think.

I think by the time you have 1K+ inlines you need to be considering a custom widget, or a custom view+template entirely. (On the old principle that the admin is not your application...)

Note: See TracTickets for help on using tickets.
Back to Top