Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#21507 closed Uncategorized (fixed)

Wrong default widget information for models.FileField

Reported by: Ludwik Trammer Owned by: nobody
Component: Documentation Version: master
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 Changed 3 years ago by Ludwik Trammer

There is work on ClearableFileInput currently going on in #21201.

comment:2 Changed 3 years ago by loic84

Triage Stage: UnreviewedAccepted

comment:3 Changed 3 years ago by Ludwik Trammer

Has patch: set

comment:4 Changed 3 years ago by loic84

Triage Stage: AcceptedReady for checkin

Looks good.

comment:5 Changed 3 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In 70e61310d690fab109c5298e41783db61306f831:

Fixed #21507 -- Corrected default widget information for FileField

comment:6 Changed 3 years ago by Tim Graham <timograham@…>

In e19506d14ef87b11906de3d3e860470479924617:

[1.5.x] Fixed #21507 -- Corrected default widget information for FileField

Backport of 70e61310d6 from master

comment:7 Changed 3 years ago by Tim Graham <timograham@…>

In 593ec42ad1375d8644e3eb485566315f0187de99:

[1.6.x] Fixed #21507 -- Corrected default widget information for FileField

Backport of 70e61310d6 from master

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