Changeset 8215 for django/branches/gis/django/template/context.py
- Timestamp:
- 08/05/08 12:15:33 (5 months ago)
- Files:
-
- django/branches/gis (modified) (1 prop)
- django/branches/gis/django/template/context.py (modified) (1 diff)
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 63 63 def update(self, other_dict): 64 64 "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.') 65 67 self.dicts = [other_dict] + self.dicts 66 68 return other_dict
