Opened 7 years ago

Closed 7 years ago

#12985 closed (wontfix)

Add a download link for the current file with the current file name to FileInput

Reported by: James Pic Owned by: nobody
Component: Forms Version: 1.1
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Wouldn't it be nice for the FileInput widget which has an initial value to have a download link with the current file name?

Change History (2)

comment:1 Changed 7 years ago by AndrewIngram

I don't think the widget should render this information by default, the reason being is that not everyone would want it and Django's form rendering is already too opinionated in my opinion.

comment:2 Changed 7 years ago by Russell Keith-Magee

Resolution: wontfix
Status: newclosed

I agree with @AndrewIngram. Exact rendering of widgets is a user choice; links to existing file content aren't hard to add, either in your own template, or in a custom widget.

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