[Django] #22613: ModelAdmin.formfield_for_choice_field() should be listed in InlineModelAdmin options in ModelAdmin

3 views
Skip to first unread message

Django

unread,
May 11, 2014, 10:48:36 PM5/11/14
to django-...@googlegroups.com
#22613: ModelAdmin.formfield_for_choice_field() should be listed in
InlineModelAdmin options in ModelAdmin
-------------------------------+--------------------
Reporter: anonymous | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 1.5
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
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.

--
Ticket URL: <https://code.djangoproject.com/ticket/22613>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 12, 2014, 7:01:23 AM5/12/14
to django-...@googlegroups.com
#22613: ModelAdmin.formfield_for_choice_field() should be listed in
InlineModelAdmin options in ModelAdmin
---------------------------+----------------------------
Reporter: anonymous | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 1.5
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------+----------------------------
Changes (by Tim Graham <timograham@…>):

* 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>

Django

unread,
May 12, 2014, 7:01:45 AM5/12/14
to django-...@googlegroups.com
#22613: ModelAdmin.formfield_for_choice_field() should be listed in
InlineModelAdmin options in ModelAdmin
---------------------------+----------------------------
Reporter: anonymous | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 1.5
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------+----------------------------

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>

Django

unread,
May 12, 2014, 7:01:46 AM5/12/14
to django-...@googlegroups.com
#22613: ModelAdmin.formfield_for_choice_field() should be listed in
InlineModelAdmin options in ModelAdmin
---------------------------+----------------------------
Reporter: anonymous | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 1.5
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------+----------------------------

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>

Reply all
Reply to author
Forward
0 new messages