Opened 9 years ago
Last modified 9 years ago
#25410 closed Bug
Empty ClearableFileInput raises ValueError — at Initial Version
Reported by: | vfigueiro | Owned by: | nobody |
---|---|---|---|
Component: | Forms | Version: | dev |
Severity: | Release blocker | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Having an empty file field raises ValueError whenever the ClearableFileInput widget is rendered in the admin or in a custom form. It prevents the rendering of the form in change mode (works in creation mode).
I guess this started happening on Python 2.7 after #24727 was fixed (5c412dd).
Related ticket: #13327
Note:
See TracTickets
for help on using tickets.