Ticket #1297: query.py.diff
File query.py.diff, 634 bytes (added by , 19 years ago) |
---|
-
usr/lib/python2.3/site-packages/django/db/models/query.py
245 245 def filter(self, **kwargs): 246 246 "Returns a new QuerySet instance with the args ANDed to the existing set." 247 247 clone = self._clone() 248 clone._filters.update(**kwargs)248 for k, v in kwargs.items(): clone._filters[k] = v 249 249 return clone 250 250 251 251 def select_related(self, true_or_false=True):