Ticket #3739: queryset_all.diff

File queryset_all.diff, 656 bytes (added by Jeff Forcier <reg@…>, 12 years ago)

Diff against checkout of 0.95.1

  • db/models/query.py

     
    324326    # PUBLIC METHODS THAT ALTER ATTRIBUTES AND RETURN A NEW QUERYSET #
    325327    ##################################################################
    326328
     329    def all(self):
     330        "Returns the QuerySet again with no modifications - to conform to Manager interface."
     331        return self
     332
    327333    def filter(self, *args, **kwargs):
    328334        "Returns a new QuerySet instance with the args ANDed to the existing set."
    329335        return self._filter_or_exclude(None, *args, **kwargs)
Back to Top