mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Removed F.__deepcopy__()
The method didn't change standard __deepcopy__ in any way.
This commit is contained in:
parent
2fb5a51fa3
commit
3a66035107
@ -138,11 +138,6 @@ class F(ExpressionNode):
|
||||
super(F, self).__init__(None, None, False)
|
||||
self.name = name
|
||||
|
||||
def __deepcopy__(self, memodict):
|
||||
obj = super(F, self).__deepcopy__(memodict)
|
||||
obj.name = self.name
|
||||
return obj
|
||||
|
||||
def prepare(self, evaluator, query, allow_joins):
|
||||
return evaluator.prepare_leaf(self, query, allow_joins)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user