Opened 19 years ago
Closed 17 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 |
Description
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 by , 18 years ago
Resolution: | → invalid |
---|---|
Severity: | normal → trivial |
Status: | new → closed |
comment:2 by , 18 years ago
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 by , 18 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Uh, what? Please don't close tickets like this, unless they're blatantly invalid.
comment:4 by , 18 years ago
Triage Stage: | Unreviewed → Design 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 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Marking FIXED since FilePathField takes care of this need. FileFields are for uploads.
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.