﻿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
16891	QuerySet.delete() should return number of rows matched	Steven Cummings	Steven Cummings	"Splitting this off from ticket #16549...

Deep in the bowels of django.db the rows modified value from update and delete queries is ignored and discarded. For reasons discussed on ticket 16549, it would sometimes be useful to have access to that value.

Objective of this bug is to passively return rows-modified up through the call-stack and, ultimately, hopefully from each of:

* Model.save()
* Model.delete()
* QuerySet.update()
* QuerySet.delete()

with consideration for transaction control/mgmt.

**Update from comment thread**: queryset update already returns rows-matched (and this can't be changed to rows-changed without breaking other things). So it is only deletes that need this change.
"	New feature	closed	Database layer (models, ORM)	dev	Normal	fixed		Sergey Kolosov dev@… Zach Borboa	Accepted	1	0	0	0	0	0
