Fixed a typo so that cloning UpdateQuery objects won't fail mysteriously.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
e47cc781d8
commit
cfcfc456e9
|
@ -106,7 +106,7 @@ class UpdateQuery(Query):
|
||||||
|
|
||||||
def clone(self, klass=None, **kwargs):
|
def clone(self, klass=None, **kwargs):
|
||||||
return super(UpdateQuery, self).clone(klass,
|
return super(UpdateQuery, self).clone(klass,
|
||||||
related_updates=self.related_updates.copy, **kwargs)
|
related_updates=self.related_updates.copy(), **kwargs)
|
||||||
|
|
||||||
def execute_sql(self, result_type=None):
|
def execute_sql(self, result_type=None):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue