[Was: Admin layout getting too bulky - what to do?]

Since I started the above thread I have upgraded some sites to Django 3.2.2. and today discovered there is now an Admin sidebar built right in. Bravo! I could never have done that.

That doesn't really change what I would like while editing a single record with many 1:1 and 1:n sub-related-records.

The problem to be solved is that a single record screen size can be enormous and you need a quick way to navigate up and down the page to whichever 1:1 or 1:n section is wanted.

The related model's verbose_name_plural is used as a section header and perhaps it just needs a name anchor html tag inserted just above it in the model's change page. It doesn't work when it is on the same line because it interferes with Show/Hide for the topmost related record in the section.

Even doing that alone would be great because it would allow you use the anchor to go straight to a certain section of a long change page from another non-admin view.

That sidebar is brilliant. It would be even more brilliant if it morphed into a sidebar for a model's change page.

If anyone sees any value in making that happen I'm very happy to contribute - as directed!

Cheers

mike

My project has a central table with many 1:n and n:m sub-tables. I mean lots of them. It takes forever to keep scrolling up and down the page to find the section of interest and then maybe scroll through some records in that section before clicking (SHOW) to reveal data.

Is there a way I can do a sidebar of links which take the user to specific sections?

I have had a look at the contrib layout and it doesn't appear obvious what to do. Especially since they don't pay me enough to play with js ;-)

Has this been solved before?

--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ff6ef09e-c4d1-368a-48b9-7424662b2246%40dewhirst.com.au.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to