mirror of
https://github.com/django/django.git
synced 2025-09-24 19:23:03 +00:00
Cleaned up some __getstate__() docstrings.
This commit is contained in:
parent
b63d0c54b0
commit
2e5fbe889f
3 changed files with 8 additions and 12 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue