Django

Code

Changeset 2186

Show
Ignore:
Timestamp:
01/30/06 12:00:53 (3 years ago)
Author:
adrian
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/magic-removal/django/db/models/query.py

    r2181 r2186  
    246246        "Returns a new QuerySet instance with the args ANDed to the existing set." 
    247247        clone = self._clone() 
    248         clone._filters.update(**kwargs) 
     248        clone._filters.update(kwargs) 
    249249        return clone 
    250250