Opened 16 years ago

Closed 15 years ago

#21 closed enhancement (fixed)

FileUploadField should allow for manual filename entry

Reported by: Adrian Holovaty Owned by: Adrian Holovaty
Component: contrib.admin Version:
Severity: trivial Keywords:
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


FileUploadFields currently don't allow users to type in the name of an already-existing file -- the system forces them to upload a new file each time. There should be a way of designating a path/filename on the server.

It'd be great if there was some sort of filesystem-browsing interface, like the one Urchin has for selecting log sources.

Change History (5)

comment:1 Changed 16 years ago by noah@…

Resolution: invalid
Severity: normaltrivial
Status: newclosed

the file upload field is controled by the browser and for security reasons is as such. There have been many errors in browsers that have allowed things like password filed to be uploaded.

This is neither controled by django nor is it a good idea for the sake of security.

comment:2 Changed 16 years ago by noah@…

Sorry for the missunderstanding, I didn't realize you meant files already on the server.

This wouldn't be a bad idea but it would have to be fairly restricted so as not to allow things like /usr/someguy/bankinfo to be selected even if the webserver process DOES have access to it

comment:3 Changed 16 years ago by Adrian Holovaty

Resolution: invalid
Status: closedreopened

Uh, what? Please don't close tickets like this, unless they're blatantly invalid.

comment:4 Changed 15 years ago by Gary Wilson <gary.wilson@…>

Triage Stage: UnreviewedDesign decision needed

Is this different from FilePathField? And if so, are you envisioning two separate text input boxes, one for selecting files on the client's system to upload and one for selecting already existing files on the server?

comment:5 Changed 15 years ago by Jacob

Resolution: fixed
Status: reopenedclosed

Marking FIXED since FilePathField takes care of this need. FileFields are for uploads.

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