#22613 closed Bug (fixed)
ModelAdmin.formfield_for_choice_field() should be listed in InlineModelAdmin options in ModelAdmin
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.5 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I'm using InlineModelAdmin and I had a strong need for ModelAdmin.formfield_for_choice_field().
However, it is not listed in InlineModelAdmin options although formfield_for_foreignkey() and formfield_for_manytomany() are.
formfield_for_choice_field() is implemented in BaseModelAdmin and I checked that it works fine with InlineModelAdmin.
Note:
See TracTickets
for help on using tickets.
In 986bd41f8a6e7a667380c59d347edbdf61b7fd02: