magic-removal: Fixed #1297 -- Fixed Python 2.4 style dict.update() to Python 2.3-compatible

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2186 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-01-30 18:00:53 +00:00
parent c0529945b4
commit 030f8d6af1
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ class QuerySet(object):
def filter(self, **kwargs):
"Returns a new QuerySet instance with the args ANDed to the existing set."
clone = self._clone()
clone._filters.update(**kwargs)
clone._filters.update(kwargs)
return clone
def select_related(self, true_or_false=True):