Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#15208 closed (fixed)

Document ModelAdmin.formfield_for_choice_field

Reported by: Julien Phalip 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 Phalip 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by Julien Phalip

comment:1 Changed 6 years ago by Julien Phalip

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

comment:2 Changed 6 years ago by Russell Keith-Magee

Triage Stage: UnreviewedReady for checkin

comment:3 Changed 6 years ago by Tim Graham

Resolution: fixed
Status: newclosed

In [15399]:

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

comment:4 Changed 6 years ago by Tim Graham

In [15400]:

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

Backport of r15399 from trunk.

comment:5 Changed 5 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

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