﻿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
27809	Add pre_add and post_add signals	Oskar Persson	Oskar Persson	"There currently aren't any signals that are triggered when adding an object to a Many-To-One relation. This prevents a developer from adding additional custom functionality whenever this occurs. Currently the only way around this is [https://docs.djangoproject.com/en/1.10/ref/models/relations/#django.db.models.fields.related.RelatedManager.add using add with bulk=False] which uses the save method instead of update, which isn't always what you want to use. 

When bulk=True an update query is used which means that #21461 would also solve this issue. The problem with #21461 however is that there you want all the objects added to the relation sent with the signal. In the pre_add and post_add signals these aren't needed, here we only send the object that other objects are added to, the ""related"" object."	New feature	closed	Database layer (models, ORM)	dev	Normal	wontfix	signals, many-to-one		Someday/Maybe	1	1	1	0	1	0
