Add raw kwarg to m2m signals
|Reported by:||mjtamlyn||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||1.3|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I think the m2m_changed signal would benefit from a raw flag similar to the pre_save and post_save signals. I've got some signals called on M2M change which die when called during fixture loading. At present the only way I can see to do this is to hook into the pre_save and cache that I'm in fixture-loading mode... Pretty nasty!