Opened 13 years ago

Closed 13 years ago

Last modified 13 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: no UI/UX: no

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 13 years ago.

Download all attachments as: .zip

Change History (6)

by Julien Phalip, 13 years ago

comment:1 by Julien Phalip, 13 years ago

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

comment:2 by Russell Keith-Magee, 13 years ago

Triage Stage: UnreviewedReady for checkin

comment:3 by Tim Graham, 13 years ago

Resolution: fixed
Status: newclosed

In [15399]:

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

comment:4 by Tim Graham, 13 years ago

In [15400]:

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

Backport of r15399 from trunk.

comment:5 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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