commit
bbbd7c692c
1 changed files with 3 additions and 0 deletions
|
@ -137,6 +137,9 @@ class FakeQuery(object):
|
|||
def where(self, *args, **kwargs):
|
||||
return self
|
||||
|
||||
def order_by(self, *args, **kwargs):
|
||||
return self
|
||||
|
||||
def __iter__(self):
|
||||
return self._result_list.__iter__()
|
||||
|
||||
|
|
Reference in a new issue