Skip to content
Browse files

Fixed a typo so that cloning UpdateQuery objects won't fail mysteriou…

…sly.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent e47cc78 commit cfcfc456e909df9f9184d3dd7a5eaca0d0cdbd18 @malcolmt malcolmt committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/db/models/sql/subqueries.py
View
2 django/db/models/sql/subqueries.py
@@ -106,7 +106,7 @@ def _setup_query(self):
def clone(self, klass=None, **kwargs):
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):
"""

0 comments on commit cfcfc45

Please sign in to comment.
Something went wrong with that request. Please try again.