minor update to .all() doc to make it clear that it does not return a list but a queryset

This commit is contained in:
Bastien Gérard 2018-12-24 23:51:30 +01:00
parent 2c6a744848
commit 69a99c70c6

View File

@ -215,7 +215,7 @@ class BaseQuerySet(object):
# Core functions # Core functions
def all(self): def all(self):
"""Returns all documents.""" """Returns a copy of the current QuerySet."""
return self.__call__() return self.__call__()
def filter(self, *q_objs, **query): def filter(self, *q_objs, **query):