Django

Code

Show
Ignore:
Timestamp:
08/05/08 12:15:33 (5 months ago)
Author:
jbronn
Message:

gis: Merged revisions 7981-8001,8003-8011,8013-8033,8035-8036,8038-8039,8041-8063,8065-8076,8078-8139,8141-8154,8156-8214 via svnmerge from trunk.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/gis

    • Property svnmerge-integrated changed from /django/trunk:1-7978 to /django/trunk:1-8214
  • django/branches/gis/django/template/context.py

    r6990 r8215  
    6363    def update(self, other_dict): 
    6464        "Like dict.update(). Pushes an entire dictionary's keys and values onto the context." 
     65        if not hasattr(other_dict, '__getitem__'):  
     66            raise TypeError('other_dict must be a mapping (dictionary-like) object.') 
    6567        self.dicts = [other_dict] + self.dicts 
    6668        return other_dict