Opened 20 years ago

Closed 20 years ago

#1687 closed enhancement (wontfix)

[patch] Support size field for file uploads (django.forms.FileUploadField)

Reported by: rhettg@… Owned by: Adrian Holovaty
Component: Forms Version: dev
Severity: normal Keywords: forms upload
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This patch basically adds the same functionality already present for normal 'input' form types, but for file upload (and image upload).

Tested in Firefox and Safari.

Attachments (2)

UploadSize.diff​ (1.3 KB ) - added by rhettg@… 20 years ago.
UploadSize.2.diff​ (1.4 KB ) - added by rhettg@… 20 years ago.
Alternate solution (I think this might look better)

Download all attachments as: .zip

Change History (5)

by rhettg@…, 20 years ago

Attachment: UploadSize.diff​ added

by rhettg@…, 20 years ago

Attachment: UploadSize.2.diff​ added

Alternate solution (I think this might look better)

comment:1 by Simon G. <dev@…>, 20 years ago

Component: Generic views → django.newforms
Owner: changed from Jacob to Adrian Holovaty
Triage Stage: Unreviewed → Ready for checkin
Version: magic-removal → SVN

Note: This patch is for *old* forms, I've marked it as ready for checkin, but this functionality should be added to newforms too (#3517)

comment:2 by Simon G. <dev@…>, 20 years ago

Oops, that should be #3516 not #3517

comment:3 by Malcolm Tredinnick, 20 years ago

Resolution: → wontfix
Status: new → closed

Old forms has been "end of lifed". Except for necessary security fixes, we will not be adding any further functionality to it.

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