Fixed #22613 -- Added formfield_for_choice_field() to the list of methods that InlineModelAdmin supports.

This commit is contained in:
Tim Graham 2014-05-12 06:59:23 -04:00
parent a9b7f31bfc
commit 986bd41f8a
1 changed files with 1 additions and 0 deletions

View File

@ -1903,6 +1903,7 @@ adds some of its own (the shared features are actually defined in the
- :attr:`~ModelAdmin.radio_fields` - :attr:`~ModelAdmin.radio_fields`
- :attr:`~ModelAdmin.readonly_fields` - :attr:`~ModelAdmin.readonly_fields`
- :attr:`~InlineModelAdmin.raw_id_fields` - :attr:`~InlineModelAdmin.raw_id_fields`
- :meth:`~ModelAdmin.formfield_for_choice_field`
- :meth:`~ModelAdmin.formfield_for_foreignkey` - :meth:`~ModelAdmin.formfield_for_foreignkey`
- :meth:`~ModelAdmin.formfield_for_manytomany` - :meth:`~ModelAdmin.formfield_for_manytomany`
- :meth:`~ModelAdmin.has_add_permission` - :meth:`~ModelAdmin.has_add_permission`