Ticket #3739: queryset_all.diff
File queryset_all.diff, 656 bytes (added by , 18 years ago) |
---|
-
db/models/query.py
324 326 # PUBLIC METHODS THAT ALTER ATTRIBUTES AND RETURN A NEW QUERYSET # 325 327 ################################################################## 326 328 329 def all(self): 330 "Returns the QuerySet again with no modifications - to conform to Manager interface." 331 return self 332 327 333 def filter(self, *args, **kwargs): 328 334 "Returns a new QuerySet instance with the args ANDed to the existing set." 329 335 return self._filter_or_exclude(None, *args, **kwargs)