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:
erdenezul 2018-12-26 11:50:11 +08:00 committed by GitHub
commit 6c6446765e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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):