Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#20523 closed Cleanup/optimization (fixed)

Wrong form filed for model FilePathField in Field types table (Creating forms from models)

Reported by: sane4ka.sh@… Owned by: nobody
Component: Documentation Version: 1.5
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

According to logic and my tests with ModelForm, default form field for FilePathField model field should be FilePathField, not CharField as mentioned in the table.

Change History (4)

comment:1 Changed 2 years ago by bmispelon

  • Has patch unset
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

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

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

In 1fdc3d256d5d515bd0b4646ad57f231a2359e0cd:

Fixed #20523 - Incorrect form field for FilePathField.

Thanks sane4ka.sh@ for the report.

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

In 17d60438e9c5dff35e8abe311b1ea1ed06f8f98a:

[1.5.X] Fixed #20523 - Incorrect form field for FilePathField.

Thanks sane4ka.sh@ for the report.

Backport of 1fdc3d256d from master

comment:4 Changed 2 years ago by Tim Graham <timograham@…>

In 227d7f63e4c1797acc3552fdfe994181636fd033:

[1.4.x] Fixed #20523 - Incorrect form field for FilePathField.

Thanks sane4ka.sh@ for the report.

Backport of 1fdc3d256d from master

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