mirror of
https://github.com/django/django.git
synced 2025-07-05 18:29:11 +00:00
queryset-refactor: Fixed a small error in [7179].
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@7180 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
2f8f588df1
commit
22ecacda1b
@ -101,8 +101,9 @@ class UpdateQuery(Query):
|
||||
are also set up after a clone() call.
|
||||
"""
|
||||
self.values = []
|
||||
self.related_updates = {}
|
||||
self.related_ids = None
|
||||
if not hasattr(self, 'related_updates'):
|
||||
self.related_updates = {}
|
||||
|
||||
def clone(self, klass=None, **kwargs):
|
||||
return super(UpdateQuery, self).clone(klass,
|
||||
|
Loading…
x
Reference in New Issue
Block a user