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