Py3 fix
This commit is contained in:
		| @@ -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): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user