Merge pull request #1980 from bagerard/update_all_doc
minor update to .all() doc to make it clear that it return a queryset
This commit is contained in:
commit
6c6446765e
@ -215,7 +215,7 @@ class BaseQuerySet(object):
|
||||
# Core functions
|
||||
|
||||
def all(self):
|
||||
"""Returns all documents."""
|
||||
"""Returns a copy of the current QuerySet."""
|
||||
return self.__call__()
|
||||
|
||||
def filter(self, *q_objs, **query):
|
||||
|
Loading…
x
Reference in New Issue
Block a user