Am 12.10.2011 um 03:35 schrieb Steven Cummings: > Finally got around to these simple changes: > > * > https://github.com/estebistec/django/commit/b48a87afc324f5546b6654fa7638e406b397c0d6 > * > https://github.com/estebistec/django/commit/28ace32980b370fd17ae35019bfe8d055c673684 > > If the core devs approve of these changes I can get to work on creating the > proper patch for SVN and add doc changes. > > Ticket: https://code.djangoproject.com/ticket/16891#comment:3
Ticket #12086 is a duplicate. I don't think QuerySet.delete() should return the number of all collected objects, but just the number of objects deleted from QuerySet.model. And Model.save()/Model.delete() should really only return 1, as *one object* has been saved/deleted, even if more than one database row was touched. Thus, both methods don't need the return value. Thanks for working on this! __ Johannes -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.