This commit is contained in:
Jonathan Prates 2014-05-28 08:36:57 -03:00
parent 9ba657797e
commit 47f0de9836

View File

@ -163,6 +163,11 @@ class BaseQuerySet(object):
return False
def __bool__(self):
""" Same behaviour in Py3 """
return self.__nonzero__():
# Core functions
def all(self):