From 3a66035107a640c4905f0a5f247a45f32dbe16d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anssi=20K=C3=A4=C3=A4ri=C3=A4inen?= Date: Fri, 11 Oct 2013 00:31:37 +0300 Subject: [PATCH] Removed F.__deepcopy__() The method didn't change standard __deepcopy__ in any way. --- django/db/models/expressions.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/django/db/models/expressions.py b/django/db/models/expressions.py index b4eea5fe71..2fa55b2c14 100644 --- a/django/db/models/expressions.py +++ b/django/db/models/expressions.py @@ -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)