Make a bunch of improvements to the FileAttachment admin list.
Review Request #13576 — Created Feb. 27, 2024 and submitted
The way attachments were listed in the admin site was very difficult to
use. Thefile
field was linking to the download URL, and the only
other link to the change page was the caption, which could be empty.This change improves the admin list so that the filename rather than the
path is listed (potentially cropped to preserve the page with), but that
always links to the change page. The "Review Request ID" column now
properly shows the linked review request even when the attachment is
part of a draft or in the inactive list. A new column has been added
with the download link.
Used the admin list and was actually able to get to the change page for
many of my attachments.
Summary | ID |
---|---|
723e62158186e54d2f2e9cfc94b35d6d00a52e54 |
Description | From | Last Updated |
---|---|---|
We should move to the new form for this: @admin.display( short_description=... ) |
chipx86 |
- Commits:
-
Summary ID 120c4977ea649e4a9f1c2ac0f9fae108fd623252 723e62158186e54d2f2e9cfc94b35d6d00a52e54 - Diff:
-
Revision 2 (+122 -14)