added Q object support to QuerySet.filter
This commit is contained in:
parent
d85ee4e051
commit
b375c41586
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ class QuerySet(object):
|
|||
self._query.update(query)
|
||||
return self
|
||||
|
||||
def filter(self, **query):
|
||||
def filter(self, *q_objs, **query):
|
||||
return self.__call__(**query)
|
||||
|
||||
@property
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue