#31474: QuerySet.Delete - inconsistent result when zero objects deleted
-------------------------------------+-------------------------------------
     Reporter:  Adi Gabaie           |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Database layer       |                  Version:  2.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  querySet Delete      |             Triage Stage:  Accepted
  counter                            |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

 * type:  Bug => Cleanup/optimization
 * stage:  Unreviewed => Accepted


Comment:

 I guess we could adapt the code not to include any key if the count is
 zero in the second case.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31474#comment:3>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.d7f42fc932dac7d8ed5dc3248cd36bfa%40djangoproject.com.

Reply via email to