﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
13087	m2m_changed fires before a clear but after add/remove	rcatherman	nobody	"In db/models/fields/related.py I notice that _add_items and _remove_items perform the db actions and then fire the signal to the m2m_changed listeners.  _clear_items fires the signal prior to the db interaction.  The result is inconsistent.  For my use case, I'd like to have my listener assert a relationship has at least one particular item no matter if it is accidentily cleared.  It works on removal, but not on clear because I notice the DELETE happens after my re-INSERT.

I've made the change here and it works as expected now."		closed	Database layer (models, ORM)	1.2-beta		fixed			Design decision needed	0	0	0	0	0	0
