mirror of
https://github.com/django/django.git
synced 2025-08-08 04:48:27 +00:00
Removed obsolete (since Python 2.3) __safe_for_unpickling__ attribute.
This commit is contained in:
parent
58195f0b16
commit
ea8e7fd989
2 changed files with 0 additions and 6 deletions
|
@ -301,11 +301,6 @@ def deferred_class_factory(model, attrs):
|
|||
return type(str(name), (model,), overrides)
|
||||
|
||||
|
||||
# The above function is also used to unpickle model instances with deferred
|
||||
# fields.
|
||||
deferred_class_factory.__safe_for_unpickling__ = True
|
||||
|
||||
|
||||
def refs_aggregate(lookup_parts, aggregates):
|
||||
"""
|
||||
A helper method to check if the lookup_parts contains references
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue