#21507 closed Uncategorized (fixed)
Wrong default widget information for models.FileField
Reported by: | Ludwik Trammer | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
According to `models.FileField` reference:
The default form widget for this field is a FileInput.
This seems to be in contradiction with forms.FileField reference and with the actual behaviour. This should be changed to ClearableFileInput
.
Change History (7)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 11 years ago
Has patch: | set |
---|
Created a pull request: https://github.com/django/django/pull/1990
comment:5 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
There is work on
ClearableFileInput
currently going on in #21201.