Cleaned up some __getstate__() docstrings.

This commit is contained in:
Tim Graham 2016-11-23 09:45:21 -05:00
parent b63d0c54b0
commit 2e5fbe889f
3 changed files with 8 additions and 12 deletions

View file

@ -197,9 +197,6 @@ class QuerySet(object):
return obj
def __getstate__(self):
"""
Allows the QuerySet to be pickled.
"""
# Force the cache to be fully populated.
self._fetch_all()
obj_dict = self.__dict__.copy()