Py3 fix
This commit is contained in:
parent
9ba657797e
commit
47f0de9836
@ -161,7 +161,12 @@ class BaseQuerySet(object):
|
||||
self.rewind()
|
||||
return True
|
||||
|
||||
return False
|
||||
return False
|
||||
|
||||
def __bool__(self):
|
||||
""" Same behaviour in Py3 """
|
||||
|
||||
return self.__nonzero__():
|
||||
|
||||
# Core functions
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user