Opened 20 months ago

Closed 20 months ago

Last modified 20 months ago

#21507 closed Uncategorized (fixed)

Wrong default widget information for models.FileField

Reported by: ludwik 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 20 months ago by ludwik

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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

comment:2 Changed 20 months ago by loic84

  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 20 months ago by ludwik

  • Has patch set

comment:4 Changed 20 months ago by loic84

  • Triage Stage changed from Accepted to Ready for checkin

Looks good.

comment:5 Changed 20 months ago by Tim Graham <timograham@…>

  • Resolution set to fixed
  • Status changed from new to closed

In 70e61310d690fab109c5298e41783db61306f831:

Fixed #21507 -- Corrected default widget information for FileField

comment:6 Changed 20 months 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 20 months 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