Browse files

Removed F.__deepcopy__()

The method didn't change standard __deepcopy__ in any way.
  • Loading branch information...
1 parent 2fb5a51 commit 3a66035107a640c4905f0a5f247a45f32dbe16d7 @akaariai akaariai committed Oct 11, 2013
Showing with 0 additions and 5 deletions.
  1. +0 −5 django/db/models/expressions.py
View
5 django/db/models/expressions.py
@@ -138,11 +138,6 @@ def __init__(self, name):
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)

0 comments on commit 3a66035

Please sign in to comment.