Convert Admin fieldsets and Inlines to Tabs

So I happen to have a pretty long table, and the information was rarely used (relatively speaking), so we didn’t need to decompose it. That said, finding anything was a long scroll, even if they were logically grouped. So I made up this little script (cleaned by AI afterwards) to insert on the change_form.html which makes it easier to parse through all the sections of the form.

So here’s the result on a classic Admin Change form:

The script if anyone is interested : [Django] Admin : Tabs in Change Form · GitHub

1 Like