Opened 7 years ago

Closed 7 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… 7 years ago.
Use AdminFileWidget in the admin for FileField and ImageField

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by…

Use AdminFileWidget in the admin for FileField and ImageField

comment:1 Changed 7 years ago by anonymous

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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