Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed F.__deepcopy__()

The method didn't change standard __deepcopy__ in any way.
  • Loading branch information...
commit 3a66035107a640c4905f0a5f247a45f32dbe16d7 1 parent 2fb5a51
@akaariai akaariai authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.