Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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 Ludwik Trammer, 10 years ago

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

comment:2 by loic84, 10 years ago

Triage Stage: UnreviewedAccepted

comment:3 by Ludwik Trammer, 10 years ago

Has patch: set

comment:4 by loic84, 10 years ago

Triage Stage: AcceptedReady for checkin

Looks good.

comment:5 by Tim Graham <timograham@…>, 10 years ago

Resolution: fixed
Status: newclosed

In 70e61310d690fab109c5298e41783db61306f831:

Fixed #21507 -- Corrected default widget information for FileField

comment:6 by Tim Graham <timograham@…>, 10 years ago

In e19506d14ef87b11906de3d3e860470479924617:

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

Backport of 70e61310d6 from master

comment:7 by Tim Graham <timograham@…>, 10 years ago

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