Opened 8 years ago

Closed 8 years ago

#10058 closed (invalid)

Changeset 9760 broke link to FileField values in admin

Reported by:… Owned by: nobody
Component: contrib.admin Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Refactor of formfield_for_dbfield in changeset 9760 doesn't include using the AdminFileWidget for FileField and ImageField, and thus the handy file link is not present in the admin. This patch should fix the issue -- I just re-added lines 109-111 from the previous version.

Attachments (1)

10058.diff (632 bytes) - added by… 8 years ago.
Use AdminFileWidget in the admin for FileField and ImageField

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by…

Attachment: 10058.diff added

Use AdminFileWidget in the admin for FileField and ImageField

comment:1 Changed 8 years ago by anonymous

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: invalid
Status: newclosed

Alex Gaynor pointed out that because I'm actually using a subclass of ImageField, I need to update formfield_overrides in my admin class. So this ticket and patch aren't really a good representation of the issue.

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