Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

queryset-refactor: Fixed an idiotic, last-minute typo in [7043].

git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@7045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 3c490660c5a61cdf3a71e690d4bfc1a7dfa51955 1 parent de94d0c
@malcolmt malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/models/sql/query.py
View
2  django/db/models/sql/query.py
@@ -1176,7 +1176,7 @@ def as_sql(self):
"""
self.select_related = False
self.pre_sql_setup()
- if len(tables) != 1:
+ if len(self.tables) != 1:
raise TypeError('Updates can only access a single database table at a time.')
result = ['UPDATE %s' % self.tables[0]]
result.append('SET')
Please sign in to comment.
Something went wrong with that request. Please try again.