You’re not going to. M2Ms are saved after instances are saved and thus there won’t be any record at all of the m2m updates. Further issues (even if you solve that) are that you’re still in a transaction and querying the DB won’t get you m2m with proper states anyways.
The solution is to hook into the
m2m_changed signal instead of
Your sender then would be