Ticket #12142: django_emptyqueryset.patch

File django_emptyqueryset.patch, 347 bytes (added by jensadne, 15 years ago)

patch with overriden update() returning 0

  • django/db/models/query.py

     
    927927    def count(self):
    928928        return 0
    929929
     930    def update(self, **kwargs):
     931        return 0
     932
    930933    def delete(self):
    931934        pass
    932935
Back to Top