Opened 10 years ago

Closed 10 years ago

#23915 closed Bug (fixed)

ModelAdmin.to_field_allowed doesn't take into account m2m through model with non-pk to_field

Reported by: Simon Charette Owned by: nobody
Component: contrib.admin Version: dev
Severity: Normal 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

See #23754 and #23862.

Change History (3)

comment:1 by Simon Charette, 10 years ago

Has patch: set

Opened a PR

comment:2 by Tim Graham, 10 years ago

Triage Stage: AcceptedReady for checkin

comment:3 by Simon Charette <charette.s@…>, 10 years ago

Resolution: fixed
Status: newclosed

In 3a9aa155e2f7326df669953980ac87e78e932c43:

Fixed #23915 -- Made sure m2m fields through non-pk to_field are allowed in the admin.

refs #23754, #23862

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