Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#15208 closed (fixed)

Document ModelAdmin.formfield_for_choice_field

Reported by: julien Owned by: nobody
Component: Documentation Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

formfield_for_foreignkey and formfield_for_manytomany but formfield_for_choice_field isn't. I think that formfield_for_choice_field is very useful and that it should be part of the official API. See patch attached.

Attachments (1)

15208_formfield_for_choice_field_doc.diff (1.6 KB) - added by julien 4 years ago.

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by julien

comment:1 Changed 4 years ago by julien

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

Correction from the original description: "formfield_for_foreignkey and formfield_for_manytomany *are documented* but formfield_for_choice_field isn't".

comment:2 Changed 4 years ago by russellm

  • Triage Stage changed from Unreviewed to Ready for checkin

comment:3 Changed 4 years ago by timo

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

In [15399]:

Fixed #15208 - Document ModelAdmin.formfield_for_choice_field; thanks julien.

comment:4 Changed 4 years ago by timo

In [15400]:

[1.2.X] Fixed #15208 - Document ModelAdmin.formfield_for_choice_field; thanks julien.

Backport of r15399 from trunk.

comment:5 Changed 4 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

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