mirror of
https://github.com/django/django.git
synced 2025-10-25 06:36:07 +00:00
queryset-refactor: Fixed small deepcopy bug in Where clauses.
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -36,6 +36,7 @@ class WhereNode(tree.Node):
|
||||
"""
|
||||
obj = super(WhereNode, self).__deepcopy__(memodict)
|
||||
obj.query = self.query
|
||||
memodict[id(obj)] = obj
|
||||
return obj
|
||||
|
||||
def as_sql(self, node=None):
|
||||
|
||||
Reference in New Issue
Block a user