#16891: QuerySet.delete() should return number of rows matched
-------------------------------------+-------------------------------------
Reporter: estebistec | Owner:
Type: New feature | estebistec
Component: Database layer | Status: new
(models, ORM) | Version: 1.3
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timo):
* needs_better_patch: 0 => 1
* needs_docs: 0 => 1
* needs_tests: 0 => 1
Comment:
I marked #12086 as a duplicate. The attached patch doesn't make
QuerySet.delete() return the number of deleted objects like I would expect
(based on what's suggested by the ticket summary). This also needs tests
and docs.
--
Ticket URL: <https://code.djangoproject.com/ticket/16891#comment:16>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.a7aba6ff0173acf9add4d853fc0327d3%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.