Opened 10 years ago

Closed 9 years ago

#21 closed enhancement (fixed)

FileUploadField should allow for manual filename entry

Reported by: adrian Owned by: adrian
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: UI/UX:


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 9 years ago by noah@…

  • Resolution set to invalid
  • Severity changed from normal to trivial
  • Status changed from new to closed

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 9 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 9 years ago by adrian

  • Resolution invalid deleted
  • Status changed from closed to reopened

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

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

  • Triage Stage changed from Unreviewed to 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 Changed 9 years ago by jacob

  • Resolution set to fixed
  • Status changed from reopened to closed

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

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