Re: Displaying (some) M2M fields with through models specified

2014-05-26 Thread Alex Hill
Thanks Russ, I missed #9475 in my search. I'll have a read through those tickets... ...and back. I'm leaning towards keeping the API as-is, with add/create/remove simply unavailable or raising exceptions if the intermediate model doesn't meet the requirements. A few reasons: 1. As the discussi

Re: Displaying (some) M2M fields with through models specified

2014-05-25 Thread Russell Keith-Magee
Hi Alex, Short version - Broadly speaking, this is a feature we've discussed many times over many years, and we've accepted as a good idea in principle. It's logged as ticket #9475 [1]. There is some additional discussion on the original ticket that introduced m2m through models (#6095 [2]). The

Displaying (some) M2M fields with through models specified

2014-05-25 Thread Alexander Hill
Hi all, Currently, only M2M fields without custom intermediary models can use the normal Django M2M form machinery. If you define your own intermediary models, you need to use inlines instead. I would like to allow fields with custom through models to use the regular M2M field/widget automaticall