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.
--
Ticket URL: <https://code.djangoproject.com/ticket/22613>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"986bd41f8a6e7a667380c59d347edbdf61b7fd02"]:
{{{
#!CommitTicketReference repository=""
revision="986bd41f8a6e7a667380c59d347edbdf61b7fd02"
Fixed #22613 -- Added formfield_for_choice_field() to the list of methods
that InlineModelAdmin supports.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22613#comment:1>
Comment (by Tim Graham <timograham@…>):
In [changeset:"42f8029b366054cbcbc88a4f1a32e424e1938faf"]:
{{{
#!CommitTicketReference repository=""
revision="42f8029b366054cbcbc88a4f1a32e424e1938faf"
[1.6.x] Fixed #22613 -- Added formfield_for_choice_field() to the list of
methods that InlineModelAdmin supports.
Backport of 986bd41f8a from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22613#comment:2>
Comment (by Tim Graham <timograham@…>):
In [changeset:"2455699a9167b6696941ae2804b1e59e64083d71"]:
{{{
#!CommitTicketReference repository=""
revision="2455699a9167b6696941ae2804b1e59e64083d71"
[1.7.x] Fixed #22613 -- Added formfield_for_choice_field() to the list of
methods that InlineModelAdmin supports.
Backport of 986bd41f8a from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22613#comment:3>